aboutsummaryrefslogtreecommitdiff
path: root/src/ui/messenger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/messenger.c')
-rw-r--r--src/ui/messenger.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ui/messenger.c b/src/ui/messenger.c
index 5a9796f..4479b4e 100644
--- a/src/ui/messenger.c
+++ b/src/ui/messenger.c
@@ -118,6 +118,18 @@ ui_messenger_init(MESSENGER_Application *app,
118 gtk_builder_get_object(builder, "leaflet_chat") 118 gtk_builder_get_object(builder, "leaflet_chat")
119 ); 119 );
120 120
121 if (app->ui.mobile)
122 {
123 g_object_bind_property(
124 handle->leaflet_chat,
125 "folded",
126 handle->title_bar,
127 "visible",
128 G_BINDING_SYNC_CREATE |
129 G_BINDING_INVERT_BOOLEAN
130 );
131 }
132
121 hdy_leaflet_set_homogeneous(handle->leaflet_chat, FALSE, GTK_ORIENTATION_HORIZONTAL, FALSE); 133 hdy_leaflet_set_homogeneous(handle->leaflet_chat, FALSE, GTK_ORIENTATION_HORIZONTAL, FALSE);
122 134
123 handle->chats_listbox = GTK_LIST_BOX( 135 handle->chats_listbox = GTK_LIST_BOX(