mirror of
https://github.com/TakeV-Lambda/dino.git
synced 2024-11-25 08:24:19 +00:00
Fix placeholder being shown on startup, fix missing vertical line in no-conversations placeholder
This commit is contained in:
parent
3aa3912dc3
commit
e0ece2aa62
3 changed files with 4 additions and 5 deletions
|
@ -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();
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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(() => {
|
||||||
|
|
Loading…
Reference in a new issue