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



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

    ui: Move 'Cancel' at the beginning of resume-failed dialog
    
    This makes the order of the actions more natural by having 'Cancel'
    first and 'Reset' second.
    
    This also makes 'Cancel' the default action as 'Reset' isn't reversible.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771631

 data/ui/resume-failed-dialog.ui |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/data/ui/resume-failed-dialog.ui b/data/ui/resume-failed-dialog.ui
index a9ff491..712c85b 100644
--- a/data/ui/resume-failed-dialog.ui
+++ b/data/ui/resume-failed-dialog.ui
@@ -8,21 +8,21 @@
     <property name="message_type">question</property>
     <property name="text" translatable="yes">Resuming failed. Do you want to restart the game?</property>
     <child type="action">
-      <object class="GtkButton" id="button_reset">
+      <object class="GtkButton" id="button_cancel">
         <property name="visible">True</property>
         <property name="can-default">True</property>
-        <property name="label" translatable="yes">Reset</property>
+        <property name="label" translatable="yes">Cancel</property>
       </object>
     </child>
     <child type="action">
-      <object class="GtkButton" id="button_cancel">
+      <object class="GtkButton" id="button_reset">
         <property name="visible">True</property>
-        <property name="label" translatable="yes">Cancel</property>
+        <property name="label" translatable="yes">Reset</property>
       </object>
     </child>
     <action-widgets>
-      <action-widget response="accept" default="true">button_reset</action-widget>
-      <action-widget response="cancel">button_cancel</action-widget>
+      <action-widget response="accept">button_reset</action-widget>
+      <action-widget response="cancel" default="true">button_cancel</action-widget>
     </action-widgets>
   </template>
 </interface>


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