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(() => {
stream_interactor.connection_manager.log_options = print_xmpp;
Idle.add(() => {
restore();
return false;
});
});
shutdown.connect(() => {
stream_interactor.connection_manager.make_offline_all();

View file

@ -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>

View file

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