[evince] toolbar: Fix the margins of the toolbar items in ltr direction



commit 79849c412e7d2188d46a1990741db8eb6e8f4cc6
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sat Feb 22 09:39:53 2014 +0100

    toolbar: Fix the margins of the toolbar items in ltr direction

 shell/ev-toolbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-toolbar.c b/shell/ev-toolbar.c
index a6fcbde..178f57d 100644
--- a/shell/ev-toolbar.c
+++ b/shell/ev-toolbar.c
@@ -148,7 +148,7 @@ ev_toolbar_constructed (GObject *object)
 
         G_OBJECT_CLASS (ev_toolbar_parent_class)->constructed (object);
 
-        rtl = gtk_widget_get_direction (GTK_WIDGET (ev_toolbar));
+        rtl = gtk_widget_get_direction (GTK_WIDGET (ev_toolbar)) == GTK_TEXT_DIR_RTL;
 
         /* Set the MENUBAR style class so it's possible to drag the app
          * using the toolbar. */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]