summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2015-08-25 17:00:44 +0100
committerMartin Wimpress <[email protected]>2015-08-25 17:00:44 +0100
commit81833b0b5e46dadb85710a7f6db400d5690938cf (patch)
tree19f65b40dd1f0d489358cae43e2e6fbdff0331f0
parentb8ec5fedc9c08d77bf8255b3b4d5eab3c0bd3f32 (diff)
parentddc313b2738c4fadcad68561cb41496f46ea0bed (diff)
downloadmate-utils-81833b0b5e46dadb85710a7f6db400d5690938cf.tar.bz2
mate-utils-81833b0b5e46dadb85710a7f6db400d5690938cf.tar.xz
Merge pull request #112 from NiceandGently/master
GTK3: reduce height of statusbar
-rw-r--r--logview/logview-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/logview/logview-window.c b/logview/logview-window.c
index 116aca51..bc3f8a4e 100644
--- a/logview/logview-window.c
+++ b/logview/logview-window.c
@@ -1419,6 +1419,10 @@ logview_window_init (LogviewWindow *logview)
/* status area at bottom */
priv->statusbar = gtk_statusbar_new ();
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_widget_set_margin_top (GTK_WIDGET (logview->priv->statusbar), 0);
+ gtk_widget_set_margin_bottom (GTK_WIDGET (logview->priv->statusbar), 0);
+#endif
gtk_box_pack_start (GTK_BOX (vbox), priv->statusbar, FALSE, FALSE, 0);
gtk_widget_show (priv->statusbar);