[gitg] Move activity switch buttons on the right



commit b182dafae55bfd408686bc9269fa0f5daa4107e4
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Sat Aug 1 15:45:30 2015 +0200

    Move activity switch buttons on the right

 gitg/gitg-window.vala            |    2 +-
 gitg/resources/ui/gitg-window.ui |   16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gitg/gitg-window.vala b/gitg/gitg-window.vala
index 009183c..61f313e 100644
--- a/gitg/gitg-window.vala
+++ b/gitg/gitg-window.vala
@@ -265,9 +265,9 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable
                d_header_bar.remove(d_gear_menu);
 
                d_header_bar.pack_end(d_gear_menu);
+               d_header_bar.pack_end(d_activities_switcher);
                d_header_bar.pack_end(d_select_button);
                d_header_bar.pack_end(d_search_button);
-               d_header_bar.pack_end(d_activities_switcher);
 
                d_infobar.response.connect((w, r) => {
                        d_infobar.hide();
diff --git a/gitg/resources/ui/gitg-window.ui b/gitg/resources/ui/gitg-window.ui
index ea1dfd5..69b2afe 100644
--- a/gitg/resources/ui/gitg-window.ui
+++ b/gitg/resources/ui/gitg-window.ui
@@ -41,6 +41,14 @@
           </packing>
         </child>
         <child>
+          <object class="GtkStackSwitcher" id="d_activities_switcher">
+            <property name="visible">False</property>
+          </object>
+          <packing>
+            <property name="pack_type">end</property>
+          </packing>
+        </child>
+        <child>
           <object class="GtkToggleButton" id="d_search_button">
             <property name="visible">True</property>
             <property name="valign">center</property>
@@ -85,14 +93,6 @@
           </packing>
         </child>
         <child>
-          <object class="GtkStackSwitcher" id="d_activities_switcher">
-            <property name="visible">False</property>
-          </object>
-          <packing>
-            <property name="pack_type">end</property>
-          </packing>
-        </child>
-        <child>
           <object class="GtkMenuButton" id="d_gear_menu">
             <property name="visible">True</property>
             <property name="valign">center</property>



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