aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdino/src/application.vala5
-rw-r--r--main/data/unified_main_content.ui3
-rw-r--r--main/src/ui/conversation_selector/conversation_selector.vala1
3 files changed, 4 insertions, 5 deletions
diff --git a/libdino/src/application.vala b/libdino/src/application.vala
index ce9ec14a..490cd40c 100644
--- a/libdino/src/application.vala
+++ b/libdino/src/application.vala
@@ -63,10 +63,7 @@ public interface Application : GLib.Application {
startup.connect(() => {
stream_interactor.connection_manager.log_options = print_xmpp;
- Idle.add(() => {
- restore();
- return false;
- });
+ restore();
});
shutdown.connect(() => {
stream_interactor.connection_manager.make_offline_all();
diff --git a/main/data/unified_main_content.ui b/main/data/unified_main_content.ui
index d661b1bc..7a3f92fc 100644
--- a/main/data/unified_main_content.ui
+++ b/main/data/unified_main_content.ui
@@ -8,6 +8,9 @@
<child>
<object class="GtkBox" id="left_box">
<property name="orientation">vertical</property>
+ <style>
+ <class name="sidebar"/>
+ </style>
<child>
<object class="GtkStack" id="left_stack">
<property name="hexpand">False</property>
diff --git a/main/src/ui/conversation_selector/conversation_selector.vala b/main/src/ui/conversation_selector/conversation_selector.vala
index 925a462a..535a61b0 100644
--- a/main/src/ui/conversation_selector/conversation_selector.vala
+++ b/main/src/ui/conversation_selector/conversation_selector.vala
@@ -37,7 +37,6 @@ public class ConversationSelector : Widget {
}
construct {
- add_css_class("sidebar");
list_box.set_sort_func(sort);
realize.connect(() => {