[evince] ev-toolbar: Switch order of find button



commit 08ddf3c76e2de78fe5facf6ef90da1a079d98a38
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Tue Jul 3 13:59:11 2018 -0400

    ev-toolbar: Switch order of find button
    
    In Gnome applications the find button is on the right group, and
    within that group is closer to the title (left within the group).
    Therefore, we leave the find button to look similar to other
    Gnome applications.

 shell/ev-toolbar.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/shell/ev-toolbar.c b/shell/ev-toolbar.c
index ba608d37..1d0bd98a 100644
--- a/shell/ev-toolbar.c
+++ b/shell/ev-toolbar.c
@@ -239,12 +239,6 @@ ev_toolbar_constructed (GObject *object)
         ev_toolbar->priv->action_menu_button = button;
         gtk_header_bar_pack_end (GTK_HEADER_BAR (ev_toolbar), button);
 
-        /* Find */
-        button = ev_toolbar_create_toggle_button (ev_toolbar, "win.toggle-find", "edit-find-symbolic",
-                                                  _("Find a word or phrase in the document"));
-        ev_toolbar->priv->find_button = button;
-        gtk_header_bar_pack_end (GTK_HEADER_BAR (ev_toolbar), button);
-
         /* Zoom selector */
         vbox = ev_zoom_action_new (ev_window_get_document_model (ev_toolbar->priv->window),
                                    G_MENU (gtk_builder_get_object (builder, "zoom-menu")));
@@ -256,6 +250,12 @@ ev_toolbar_constructed (GObject *object)
                           ev_toolbar);
         gtk_header_bar_pack_end (GTK_HEADER_BAR (ev_toolbar), vbox);
 
+        /* Find */
+        button = ev_toolbar_create_toggle_button (ev_toolbar, "win.toggle-find", "edit-find-symbolic",
+                                                  _("Find a word or phrase in the document"));
+        ev_toolbar->priv->find_button = button;
+        gtk_header_bar_pack_end (GTK_HEADER_BAR (ev_toolbar), button);
+
         ev_toolbar->priv->bookmarks_section = G_MENU (gtk_builder_get_object (builder, "bookmarks"));
         bookmarks_submenu_model = ev_window_get_bookmarks_menu (ev_toolbar->priv->window);
         g_signal_connect (bookmarks_submenu_model, "items-changed",


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