diff options
author | fiaxh <git@lightrise.org> | 2023-01-31 19:04:01 +0100 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2023-01-31 20:16:23 +0100 |
commit | e0ece2aa62aa6b8350be83c787ea003a75f07437 (patch) | |
tree | ac63b1385e7a4cfee03253ca4e803fb7bb3506c4 | |
parent | 3aa3912dc3ea740a5b93f8b694ead45e1b655238 (diff) | |
download | dino-e0ece2aa62aa6b8350be83c787ea003a75f07437.tar.gz dino-e0ece2aa62aa6b8350be83c787ea003a75f07437.zip |
Fix placeholder being shown on startup, fix missing vertical line in no-conversations placeholder
-rw-r--r-- | libdino/src/application.vala | 5 | ||||
-rw-r--r-- | main/data/unified_main_content.ui | 3 | ||||
-rw-r--r-- | main/src/ui/conversation_selector/conversation_selector.vala | 1 |
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(() => { |