Fix placeholder being shown on startup, fix missing vertical line in no-conversations placeholder

This commit is contained in:
fiaxh 2023-01-31 19:04:01 +01:00
parent 3aa3912dc3
commit e0ece2aa62
3 changed files with 4 additions and 5 deletions

View file

@ -63,10 +63,7 @@ public interface Application : GLib.Application {
startup.connect(() => { startup.connect(() => {
stream_interactor.connection_manager.log_options = print_xmpp; stream_interactor.connection_manager.log_options = print_xmpp;
Idle.add(() => { restore();
restore();
return false;
});
}); });
shutdown.connect(() => { shutdown.connect(() => {
stream_interactor.connection_manager.make_offline_all(); stream_interactor.connection_manager.make_offline_all();

View file

@ -8,6 +8,9 @@
<child> <child>
<object class="GtkBox" id="left_box"> <object class="GtkBox" id="left_box">
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<style>
<class name="sidebar"/>
</style>
<child> <child>
<object class="GtkStack" id="left_stack"> <object class="GtkStack" id="left_stack">
<property name="hexpand">False</property> <property name="hexpand">False</property>

View file

@ -37,7 +37,6 @@ public class ConversationSelector : Widget {
} }
construct { construct {
add_css_class("sidebar");
list_box.set_sort_func(sort); list_box.set_sort_func(sort);
realize.connect(() => { realize.connect(() => {