[nautilus] toolbar: Fix the spacing between the buttons
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] toolbar: Fix the spacing between the buttons
- Date: Thu, 29 Aug 2013 14:48:55 +0000 (UTC)
commit 3eca97997cb1973f6c7a073cec89a261ec1c59a3
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Thu Aug 29 14:50:57 2013 +0300
toolbar: Fix the spacing between the buttons
src/nautilus-toolbar.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c
index 02662b0..c9c12b2 100644
--- a/src/nautilus-toolbar.c
+++ b/src/nautilus-toolbar.c
@@ -442,9 +442,9 @@ nautilus_toolbar_constructed (GObject *obj)
gtk_box_pack_start (GTK_BOX (toolbar), box, FALSE, FALSE, 0);
if (rtl) {
- gtk_widget_set_margin_left (box, 12);
+ gtk_widget_set_margin_left (box, 6);
} else {
- gtk_widget_set_margin_right (box, 12);
+ gtk_widget_set_margin_right (box, 6);
}
/* regular path bar */
@@ -491,9 +491,9 @@ nautilus_toolbar_constructed (GObject *obj)
gtk_container_add (GTK_CONTAINER (toolbar), box);
if (rtl) {
- gtk_widget_set_margin_right (box, 12);
+ gtk_widget_set_margin_right (box, 6);
} else {
- gtk_widget_set_margin_left (box, 12);
+ gtk_widget_set_margin_left (box, 6);
}
/* Action Menu */
@@ -507,9 +507,9 @@ nautilus_toolbar_constructed (GObject *obj)
gtk_container_add (GTK_CONTAINER (toolbar), button);
if (rtl) {
- gtk_widget_set_margin_right (button, 12);
+ gtk_widget_set_margin_right (button, 6);
} else {
- gtk_widget_set_margin_left (button, 12);
+ gtk_widget_set_margin_left (button, 6);
}
/* Separator and Close */
@@ -517,9 +517,9 @@ nautilus_toolbar_constructed (GObject *obj)
gtk_container_add (GTK_CONTAINER (toolbar), separator);
if (rtl) {
- gtk_widget_set_margin_right (separator, 8);
+ gtk_widget_set_margin_right (separator, 6);
} else {
- gtk_widget_set_margin_left (separator, 8);
+ gtk_widget_set_margin_left (separator, 6);
}
button = gtk_button_new_from_icon_name ("window-close-symbolic",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]