summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYosef Or Boczko <yoseforb@gmail.com>2013-09-20 10:20:57 +0300
committerYosef Or Boczko <yoseforb@gmail.com>2013-09-20 10:20:57 +0300
commit2f2f242ee682e57b50d08fd031346c1a5504cbc4 (patch)
treeffd89865acd1f870c229d07a7dc628686659a691 /src
parent9416b4739b4174dce07dfe6d1062ba17dadf833b (diff)
downloadepiphany-2f2f242ee682e57b50d08fd031346c1a5504cbc4.tar.gz
ephy-window: Fix the margin of the toolbar
https://bugzilla.gnome.org/show_bug.cgi?id=708436
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 2741ea42b..b8896a426 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -3718,16 +3718,8 @@ setup_toolbar (EphyWindow *window)
toolbar = ephy_toolbar_new (window);
gtk_widget_set_margin_top (toolbar, 6);
gtk_widget_set_margin_bottom (toolbar, 5);
- if (gtk_widget_get_direction (toolbar) == GTK_TEXT_DIR_RTL)
- {
- gtk_widget_set_margin_left (toolbar, 8);
- gtk_widget_set_margin_right (toolbar, 6);
- }
- else
- {
- gtk_widget_set_margin_left (toolbar, 6);
- gtk_widget_set_margin_right (toolbar, 8);
- }
+ gtk_widget_set_margin_left (toolbar, 6);
+ gtk_widget_set_margin_right (toolbar, 6);
gtk_container_add (GTK_CONTAINER (frame), toolbar);
gtk_widget_show (frame);
gtk_window_set_titlebar (GTK_WINDOW (window), frame);