[epiphany] ephy-window: Fix the margin of the toolbar
- From: Yosef Or Boczko <yoseforb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-window: Fix the margin of the toolbar
- Date: Fri, 20 Sep 2013 08:50:18 +0000 (UTC)
commit 2f2f242ee682e57b50d08fd031346c1a5504cbc4
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Fri Sep 20 10:20:57 2013 +0300
ephy-window: Fix the margin of the toolbar
https://bugzilla.gnome.org/show_bug.cgi?id=708436
src/ephy-window.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 2741ea4..b8896a4 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]