[Xfce4-commits] <xfce4-settings:master> Set the OK button as the default button.
Nick Schermer
noreply at xfce.org
Sat Aug 28 23:04:33 CEST 2010
Updating branch refs/heads/master
to 9faabd1b59fac03c811b7759d6f71587b32df40d (commit)
from dea3edbea8d5d1a597b589012e9512c41b24ad82 (commit)
commit 9faabd1b59fac03c811b7759d6f71587b32df40d
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Mon Jun 21 11:50:49 2010 +0200
Set the OK button as the default button.
This allows the user to use the dialog with the arrow keys then by
validating with enter.
.../display-settings/minimal-display-dialog.glade | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/dialogs/display-settings/minimal-display-dialog.glade b/dialogs/display-settings/minimal-display-dialog.glade
index 21792f4..218aff8 100644
--- a/dialogs/display-settings/minimal-display-dialog.glade
+++ b/dialogs/display-settings/minimal-display-dialog.glade
@@ -54,7 +54,7 @@
<object class="GtkRadioButton" id="radiobutton1">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="receives_default">False</property>
+ <property name="receives_default">True</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
</object>
@@ -66,7 +66,7 @@
<object class="GtkRadioButton" id="radiobutton2">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="receives_default">False</property>
+ <property name="receives_default">True</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
<property name="group">radiobutton1</property>
@@ -80,7 +80,7 @@
<property name="label" translatable="yes">Both displays cloned</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="receives_default">False</property>
+ <property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Use both displays to show the same contents</property>
<property name="active">True</property>
<property name="draw_indicator">True</property>
@@ -129,6 +129,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>
More information about the Xfce4-commits
mailing list