[gnome-games] ui: Move 'Cancel' at the beginning of quit dialog



commit f2e6c51fd0c975cd30a70f2865665097150458b9
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Tue Apr 4 08:45:03 2017 +0200

    ui: Move 'Cancel' at the beginning of quit dialog
    
    This makes the order of the actions more natural by having 'Cancel'
    first and 'Quit' second.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771631

 data/ui/quit-dialog.ui |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/data/ui/quit-dialog.ui b/data/ui/quit-dialog.ui
index 81072db..23de59b 100644
--- a/data/ui/quit-dialog.ui
+++ b/data/ui/quit-dialog.ui
@@ -9,6 +9,13 @@
     <property name="text" translatable="yes">Are you sure you want to quit?</property>
     <property name="secondary_text" translatable="yes">All unsaved progress will be lost.</property>
     <child type="action">
+      <object class="GtkButton" id="button_cancel">
+        <property name="visible">True</property>
+        <property name="can-default">True</property>
+        <property name="label" translatable="yes">Cancel</property>
+      </object>
+    </child>
+    <child type="action">
       <object class="GtkButton" id="button_quit">
         <property name="visible">True</property>
         <property name="label" translatable="yes">Quit</property>
@@ -17,13 +24,6 @@
         </style>
       </object>
     </child>
-    <child type="action">
-      <object class="GtkButton" id="button_cancel">
-        <property name="visible">True</property>
-        <property name="can-default">True</property>
-        <property name="label" translatable="yes">Cancel</property>
-      </object>
-    </child>
     <action-widgets>
       <action-widget response="accept">button_quit</action-widget>
       <action-widget response="cancel" default="true">button_cancel</action-widget>


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