summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-07-04 21:12:14 +0200
committerThomas Haller <thaller@redhat.com>2016-08-20 10:25:53 +0200
commitcea8d71a634c529e89c0d490ba745564191548be (patch)
tree84914bdbae94bb30183d499b1153c4d0af448e5d
parent14bad03a881b392a3a517d99b30caf93c0a60237 (diff)
downloadnetwork-manager-applet-cea8d71a634c529e89c0d490ba745564191548be.tar.gz
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)
-rw-r--r--src/connection-editor/ce-new-connection.ui1
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 ec4a3c93..c0692fab 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>