summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Lidén Borell <samuel@kodafritt.se>2014-04-11 23:14:50 +0200
committerSamuel Lidén Borell <samuel@kodafritt.se>2014-04-11 23:14:50 +0200
commited822ea7fae88dd962c4acb5df49457659b3207e (patch)
treea65f6f088178c07003261cee0133f3bfd28564d2
parent313fd3a3653795e983e583dcbf0aa1c9867f61c4 (diff)
downloadfribid-ed822ea7fae88dd962c4acb5df49457659b3207e.tar.gz
fribid-ed822ea7fae88dd962c4acb5df49457659b3207e.tar.bz2
fribid-ed822ea7fae88dd962c4acb5df49457659b3207e.zip
Make <enter> activate the OK button in the password selection dialog
-rw-r--r--client/gtk/sign.glade6
-rw-r--r--client/gtk/sign.xml6
2 files changed, 8 insertions, 4 deletions
diff --git a/client/gtk/sign.glade b/client/gtk/sign.glade
index 509bafd..ac98583 100644
--- a/client/gtk/sign.glade
+++ b/client/gtk/sign.glade
@@ -344,7 +344,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="visibility">False</property>
- <property name="invisible_char">•</property>
+ <property name="activates_default">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
@@ -358,7 +358,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="visibility">False</property>
- <property name="invisible_char">•</property>
+ <property name="activates_default">True</property>
</widget>
<packing>
<property name="left_attach">1</property>
@@ -430,6 +430,8 @@
<property name="response_id">-5</property>
<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">True</property>
<property name="use_stock">True</property>
</widget>
diff --git a/client/gtk/sign.xml b/client/gtk/sign.xml
index 3c787df..54dc2c0 100644
--- a/client/gtk/sign.xml
+++ b/client/gtk/sign.xml
@@ -348,7 +348,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="visibility">False</property>
- <property name="invisible_char">&#x2022;</property>
+ <property name="activates_default">True</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -362,7 +362,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="visibility">False</property>
- <property name="invisible_char">&#x2022;</property>
+ <property name="activates_default">True</property>
</object>
<packing>
<property name="left_attach">1</property>
@@ -432,6 +432,8 @@
<property name="label">gtk-ok</property>
<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">True</property>
<property name="use_stock">True</property>
</object>