[gitg] clone-dialog: set clone as has-default so the dialog sets the suggested-action



commit 079b8a8aea78c127088b366187574481cabdfd9f
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Aug 5 08:30:03 2015 +0200

    clone-dialog: set clone as has-default so the dialog sets the suggested-action
    
    It seems that the dialog will add or remove the suggested-action class
    depending on whether the widget has the has-default property enabled.

 gitg/resources/ui/gitg-clone-dialog.ui |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gitg/resources/ui/gitg-clone-dialog.ui b/gitg/resources/ui/gitg-clone-dialog.ui
index 2d62ad6..1805341 100644
--- a/gitg/resources/ui/gitg-clone-dialog.ui
+++ b/gitg/resources/ui/gitg-clone-dialog.ui
@@ -18,7 +18,6 @@
             <property name="label" translatable="yes">_Cancel</property>
             <property name="visible">True</property>
             <property name="can_focus">True</property>
-            <property name="receives_default">True</property>
             <property name="use_underline">True</property>
             <property name="valign">center</property>
             <style>
@@ -36,11 +35,11 @@
             <property name="sensitive">False</property>
             <property name="can_focus">True</property>
             <property name="can_default">True</property>
+            <property name="has_default">True</property>
             <property name="receives_default">True</property>
             <property name="use_underline">True</property>
             <style>
               <class name="text-button"/>
-              <class name="suggested-action"/>
             </style>
           </object>
           <packing>



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