[network-manager-applet] c-e: don't set the Cancel's button in "Add connection" dialog has_default



commit e37e9bc12971a8740d5b451db360b36cf04b3c1f
Author: Thomas Haller <thaller redhat com>
Date:   Mon Jul 4 21:12:14 2016 +0200

    c-e: don't set the Cancel's button in "Add connection" dialog has_default
    
    Previously, when selecting the "Create" button with the keyboard (tab key),
    pressing ENTER would still invoke the "Cancel" action.
    
    We either want that ENTER invokes the "Create" action, or that ENTER
    invokes the currently selected button (be it "Create" or "Cancel").
    
    This patch changes the UI to do the latter.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1339565

 src/connection-editor/ce-new-connection.ui |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/connection-editor/ce-new-connection.ui b/src/connection-editor/ce-new-connection.ui
index 39de66b..0666d17 100644
--- a/src/connection-editor/ce-new-connection.ui
+++ b/src/connection-editor/ce-new-connection.ui
@@ -48,7 +48,6 @@
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="can_default">True</property>
-                <property name="has_default">True</property>
                 <property name="receives_default">False</property>
                 <property name="use_underline">True</property>
               </object>


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