Skip to content

Commit 7c0038a

Browse files
kn00tcnraveit65
authored and
raveit65
committed
UI: on the properties dialog, focus the Close button instead of the Help button by default
the Close button should be default so you can press Enter or Space without unintentionally opening the help manual
1 parent b14f706 commit 7c0038a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui/properties.ui

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
<property name="label">gtk-help</property>
2424
<property name="visible">True</property>
2525
<property name="can_focus">True</property>
26-
<property name="has_focus">True</property>
2726
<property name="can_default">True</property>
28-
<property name="has_default">True</property>
2927
<property name="receives_default">False</property>
3028
<property name="use_stock">True</property>
3129
</object>
@@ -41,7 +39,9 @@
4139
<property name="label">gtk-close</property>
4240
<property name="visible">True</property>
4341
<property name="can_focus">True</property>
42+
<property name="has_focus">True</property>
4443
<property name="can_default">True</property>
44+
<property name="has_default">True</property>
4545
<property name="receives_default">False</property>
4646
<property name="use_stock">True</property>
4747
</object>

0 commit comments

Comments
 (0)