From 853aeb1de68523d38960e5448e47a55c2c91f3ac Mon Sep 17 00:00:00 2001
From: JosephMcc <mccullarjoseph@gmail.com>
Date: Sat, 17 Jan 2015 13:43:15 -0800
Subject: [PATCH] fix the growing size of the nemo statusbar in each new
version of gtk
---
src/nemo-statusbar.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/nemo-statusbar.c b/src/nemo-statusbar.c
index c74c37f..d724ab4 100644
--- a/src/nemo-statusbar.c
+++ b/src/nemo-statusbar.c
@@ -190,7 +190,7 @@ nemo_status_bar_constructed (GObject *object)
context = gtk_widget_get_style_context (GTK_WIDGET (bar));
gtk_style_context_add_class (context, GTK_STYLE_CLASS_TOOLBAR);
- gtk_container_set_border_width (GTK_CONTAINER (bar), 1);
+ gtk_container_set_border_width (GTK_CONTAINER (bar), 2);
GtkWidget *button, *icon;
@@ -236,6 +236,8 @@ nemo_status_bar_constructed (GObject *object)
G_CALLBACK (action_show_sidebar_callback), bar);
gtk_box_pack_start (GTK_BOX (bar), statusbar, TRUE, TRUE, 10);
+ gtk_widget_set_margin_top (GTK_WIDGET (statusbar), 0);
+ gtk_widget_set_margin_bottom (GTK_WIDGET (statusbar), 0);
GtkWidget *zoom_slider = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL,
(gdouble) NEMO_ZOOM_LEVEL_SMALLEST,
--
2.1.0