diff options
-rw-r--r-- | src/ephy-window.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index fef5b3a46..2741ea42b 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -3717,9 +3717,17 @@ setup_toolbar (EphyWindow *window) frame = gtk_frame_new (NULL); toolbar = ephy_toolbar_new (window); gtk_widget_set_margin_top (toolbar, 6); - gtk_widget_set_margin_bottom (toolbar, 6); - gtk_widget_set_margin_left (toolbar, 8); - gtk_widget_set_margin_right (toolbar, 8); + 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_container_add (GTK_CONTAINER (frame), toolbar); gtk_widget_show (frame); gtk_window_set_titlebar (GTK_WINDOW (window), frame); |