summaryrefslogtreecommitdiff
path: root/baobab
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-29 13:26:50 +0100
committerinfirit <[email protected]>2014-12-29 13:26:50 +0100
commit86c3bc0ec24a1486a44a637d138cd71a87f46034 (patch)
tree0a5f7eeaa0423b688caede93d399690fb3639cbd /baobab
parentad4203661353dc90714c7c0ada3268b9f9684734 (diff)
downloadmate-utils-86c3bc0ec24a1486a44a637d138cd71a87f46034.tar.bz2
mate-utils-86c3bc0ec24a1486a44a637d138cd71a87f46034.tar.xz
set resize grip in the code now
The ui fails to load on Gtk+ 3.14 but we do want to enable the resize grip in Gtk+ 2
Diffstat (limited to 'baobab')
-rw-r--r--baobab/src/baobab.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/baobab/src/baobab.c b/baobab/src/baobab.c
index 9a2144e5..b73d9f9e 100644
--- a/baobab/src/baobab.c
+++ b/baobab/src/baobab.c
@@ -694,6 +694,10 @@ baobab_create_statusbar (void)
return;
}
+#if !GTK_CHECK_VERSION (3, 0, 0)
+ gtk_statusbar_set_has_resize_grip (GTK_STATUSBAR (baobab.statusbar), TRUE);
+#endif
+
g_settings_bind (baobab.ui_settings,
BAOBAB_SETTINGS_STATUSBAR_VISIBLE,
baobab.statusbar, "visible",
@@ -871,7 +875,6 @@ baobab_init (void)
baobab_create_toolbar ();
baobab_create_statusbar ();
-
baobab_setup_monitors ();
g_signal_connect (baobab.ui_settings, "changed::" BAOBAB_SETTINGS_SUBFLSTIPS_VISIBLE,