[gnome-boxes] selectionbar: Consistent ordering of buttons



commit 4207950f085b99caac2361221cf2a7a456f0103e
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Sat Feb 14 14:47:17 2015 +0000

    selectionbar: Consistent ordering of buttons
    
    Make the order of buttons consistent with that of corresponding items in
    the context menu.

 data/ui/selectionbar.ui |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/data/ui/selectionbar.ui b/data/ui/selectionbar.ui
index b95373c..cff9a92 100644
--- a/data/ui/selectionbar.ui
+++ b/data/ui/selectionbar.ui
@@ -10,14 +10,13 @@
       <object class="GtkActionBar" id="actionbar">
         <property name="visible">True</property>
 
-        <!-- Favorite button -->
+        <!-- Open in new windows button -->
         <child>
-          <object class="GtkToggleButton" id="favorite_btn">
+          <object class="GtkButton" id="open_btn">
             <property name="visible">True</property>
             <property name="valign">center</property>
             <property name="use-underline">True</property>
-            <property name="label" translatable="yes">_Favorite</property>
-            <signal name="clicked" handler="on_favorite_btn_clicked"/>
+            <signal name="clicked" handler="on_open_btn_clicked"/>
             <style>
               <class name="text-button"/>
             </style>
@@ -28,14 +27,14 @@
           </packing>
         </child>
 
-        <!-- Pause button -->
+        <!-- Favorite button -->
         <child>
-          <object class="GtkButton" id="pause_btn">
+          <object class="GtkToggleButton" id="favorite_btn">
             <property name="visible">True</property>
             <property name="valign">center</property>
             <property name="use-underline">True</property>
-            <property name="label" translatable="yes">P_ause</property>
-            <signal name="clicked" handler="on_pause_btn_clicked"/>
+            <property name="label" translatable="yes">_Favorite</property>
+            <signal name="clicked" handler="on_favorite_btn_clicked"/>
             <style>
               <class name="text-button"/>
             </style>
@@ -46,13 +45,14 @@
           </packing>
         </child>
 
-        <!-- Open in new windows button -->
+        <!-- Pause button -->
         <child>
-          <object class="GtkButton" id="open_btn">
+          <object class="GtkButton" id="pause_btn">
             <property name="visible">True</property>
             <property name="valign">center</property>
             <property name="use-underline">True</property>
-            <signal name="clicked" handler="on_open_btn_clicked"/>
+            <property name="label" translatable="yes">P_ause</property>
+            <signal name="clicked" handler="on_pause_btn_clicked"/>
             <style>
               <class name="text-button"/>
             </style>


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