[gnome-games/wip/exalm/gtk4: 58/59] ui: Stop using can-default property



commit ff9af8fdf02237a0cd883d8d33e26f01b2d2f65e
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Sat May 11 11:47:15 2019 +0500

    ui: Stop using can-default property
    
    It's redundant nowadays, can be removed.
    
    TODO: backport to gtk3

 data/ui/quit-dialog.ui                     | 1 -
 data/ui/reset-controller-mapping-dialog.ui | 1 -
 data/ui/resume-dialog.ui                   | 1 -
 data/ui/resume-failed-dialog.ui            | 1 -
 4 files changed, 4 deletions(-)
---
diff --git a/data/ui/quit-dialog.ui b/data/ui/quit-dialog.ui
index 0be85c2a..8bd856cc 100644
--- a/data/ui/quit-dialog.ui
+++ b/data/ui/quit-dialog.ui
@@ -11,7 +11,6 @@
     <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>
diff --git a/data/ui/reset-controller-mapping-dialog.ui b/data/ui/reset-controller-mapping-dialog.ui
index 3a281424..1e0a0356 100644
--- a/data/ui/reset-controller-mapping-dialog.ui
+++ b/data/ui/reset-controller-mapping-dialog.ui
@@ -11,7 +11,6 @@
     <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>
diff --git a/data/ui/resume-dialog.ui b/data/ui/resume-dialog.ui
index 7cd533f7..b19780dc 100644
--- a/data/ui/resume-dialog.ui
+++ b/data/ui/resume-dialog.ui
@@ -16,7 +16,6 @@
     <child type="action">
       <object class="GtkButton" id="button_resume">
         <property name="visible">True</property>
-        <property name="can-default">True</property>
         <property name="label" translatable="yes">Resume</property>
       </object>
     </child>
diff --git a/data/ui/resume-failed-dialog.ui b/data/ui/resume-failed-dialog.ui
index f24fecaa..4bac04fc 100644
--- a/data/ui/resume-failed-dialog.ui
+++ b/data/ui/resume-failed-dialog.ui
@@ -10,7 +10,6 @@
     <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>


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