From 2f2f242ee682e57b50d08fd031346c1a5504cbc4 Mon Sep 17 00:00:00 2001 From: Yosef Or Boczko Date: Fri, 20 Sep 2013 10:20:57 +0300 Subject: ephy-window: Fix the margin of the toolbar https://bugzilla.gnome.org/show_bug.cgi?id=708436 --- src/ephy-window.c | 12 ++---------- 1 file 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); -- cgit v1.2.3