[gnome-music] ui: Fix selection mode button order



commit 5d5774c1d09a773f7a2108ef19fa3249a362df0c
Author: Veerasamy Sevagen <sevagenv gmail com>
Date:   Thu Apr 18 09:30:27 2019 +0000

    ui: Fix selection mode button order
    
    The HeaderBar selection mode search and cancel button order did not follow
    the HIG guidelines.
    
    Switch the order so the search button comes before the cancel button.
    
    Closes: #275

 data/ui/HeaderBar.ui | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/data/ui/HeaderBar.ui b/data/ui/HeaderBar.ui
index 944cc6b9..bf04a328 100644
--- a/data/ui/HeaderBar.ui
+++ b/data/ui/HeaderBar.ui
@@ -50,6 +50,24 @@
         <property name="pack_type">end</property>
       </packing>
     </child>
+    <child>
+      <object class="GtkButton" id="_cancel_button">
+        <property name="visible">False</property>
+        <property name="no_show_all">True</property>
+        <property name="can_focus">False</property>
+        <property name="label" translatable="yes">_Cancel</property>
+        <property name="use_underline">True</property>
+        <property name="valign">center</property>
+        <property name="sensitive">True</property>
+        <signal name="clicked" handler="_on_cancel_button_clicked" swapped="no"/>
+        <style>
+          <class name="text-button"/>
+        </style>
+      </object>
+      <packing>
+        <property name="pack_type">end</property>
+      </packing>
+    </child>
     <child>
       <object class="GtkToggleButton" id="_search_button">
         <property name="visible">True</property>
@@ -73,24 +91,6 @@
         <property name="pack_type">end</property>
       </packing>
     </child>
-    <child>
-      <object class="GtkButton" id="_cancel_button">
-        <property name="visible">False</property>
-        <property name="no_show_all">True</property>
-        <property name="can_focus">False</property>
-        <property name="label" translatable="yes">_Cancel</property>
-        <property name="use_underline">True</property>
-        <property name="valign">center</property>
-        <property name="sensitive">True</property>
-        <signal name="clicked" handler="_on_cancel_button_clicked" swapped="no"/>
-        <style>
-          <class name="text-button"/>
-        </style>
-      </object>
-      <packing>
-        <property name="pack_type">end</property>
-      </packing>
-    </child>
     <child>
       <object class="GtkButton" id="_back_button">
         <property name="visible">True</property>


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