[nautilus] floating-bar: add a bit more whitespace around the label



commit b75521b56f24bffa320ad7bb5bc61be6fa12cb96
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Feb 14 17:18:23 2011 -0500

    floating-bar: add a bit more whitespace around the label

 src/nautilus-floating-bar.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-floating-bar.c b/src/nautilus-floating-bar.c
index f6f45e8..29b58c0 100644
--- a/src/nautilus-floating-bar.c
+++ b/src/nautilus-floating-bar.c
@@ -197,7 +197,12 @@ nautilus_floating_bar_constructed (GObject *obj)
 
 	w = gtk_label_new (NULL);
 	gtk_box_pack_start (GTK_BOX (box), w, FALSE, FALSE, 0);
-	gtk_widget_set_margin_right (w, 16);
+	g_object_set (w,
+		      "margin-top", 6,
+		      "margin-bottom", 6,
+		      "margin-left", 6,
+		      "margin-right", 6,
+		      NULL);
 	self->priv->label_widget = w;
 	gtk_widget_show (w);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]