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



commit cea8d71a634c529e89c0d490ba745564191548be
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
    (cherry picked from commit e37e9bc12971a8740d5b451db360b36cf04b3c1f)

 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 ec4a3c9..c0692fa 100644
--- a/src/connection-editor/ce-new-connection.ui
+++ b/src/connection-editor/ce-new-connection.ui
@@ -40,7 +40,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]