summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/caja-window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/caja-window.c b/src/caja-window.c
index 1c0a01c3..c460ae98 100644
--- a/src/caja-window.c
+++ b/src/caja-window.c
@@ -166,6 +166,13 @@ caja_window_init (CajaWindow *window)
statusbar = gtk_statusbar_new ();
gtk_widget_set_name (statusbar, "statusbar-noborder");
+
+/* set margin to zero to reduce size of statusbar */
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_widget_set_margin_top (GTK_WIDGET (statusbar), 0);
+ gtk_widget_set_margin_bottom (GTK_WIDGET (statusbar), 0);
+#endif
+
window->details->statusbar = statusbar;
window->details->help_message_cid = gtk_statusbar_get_context_id
(GTK_STATUSBAR (statusbar), "help_message");