diff options
Diffstat (limited to 'src/caja-window.c')
-rw-r--r-- | src/caja-window.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/caja-window.c b/src/caja-window.c index 365c3696..c460ae98 100644 --- a/src/caja-window.c +++ b/src/caja-window.c @@ -65,8 +65,6 @@ #include <math.h> #include <sys/time.h> -#include "glibcompat.h" /* for g_list_free_full */ - #define MAX_HISTORY_ITEMS 50 #define EXTRA_VIEW_WIDGETS_BACKGROUND "#a7c6e1" @@ -168,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"); |