[evince] ev-toolbar: Move the zoom selector to the left of the toolbar



commit 65d3169e8da85371b755e3d0c6a76b2b89ce0982
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Tue Jul 2 18:17:08 2013 +0200

    ev-toolbar: Move the zoom selector to the left of the toolbar
    
    Between the find and view buttons, so that it's close to the other view
    options.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701696

 shell/ev-toolbar.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/shell/ev-toolbar.c b/shell/ev-toolbar.c
index a408769..661e4b3 100644
--- a/shell/ev-toolbar.c
+++ b/shell/ev-toolbar.c
@@ -211,13 +211,6 @@ ev_toolbar_constructed (GObject *object)
         gtk_container_add (GTK_CONTAINER (ev_toolbar), tool_item);
         gtk_widget_show (tool_item);
 
-        /* Zoom selector */
-        action = gtk_action_group_get_action (action_group, "ViewZoom");
-        tool_item = gtk_action_create_tool_item (action);
-        gtk_widget_set_margin_right (tool_item, 12);
-        gtk_container_add (GTK_CONTAINER (ev_toolbar), tool_item);
-        gtk_widget_show (tool_item);
-
         /* Separator */
         tool_item = GTK_WIDGET (gtk_tool_item_new ());
         gtk_tool_item_set_expand (GTK_TOOL_ITEM (tool_item), TRUE);
@@ -230,7 +223,14 @@ ev_toolbar_constructed (GObject *object)
         tool_item = GTK_WIDGET (gtk_tool_item_new ());
         gtk_container_add (GTK_CONTAINER (tool_item), button);
         gtk_widget_show (button);
-        gtk_widget_set_margin_right (tool_item, 6);
+        gtk_widget_set_margin_right (tool_item, 12);
+        gtk_container_add (GTK_CONTAINER (ev_toolbar), tool_item);
+        gtk_widget_show (tool_item);
+
+        /* Zoom selector */
+        action = gtk_action_group_get_action (action_group, "ViewZoom");
+        tool_item = gtk_action_create_tool_item (action);
+        gtk_widget_set_margin_right (tool_item, 12);
         gtk_container_add (GTK_CONTAINER (ev_toolbar), tool_item);
         gtk_widget_show (tool_item);
 


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