gui: for project load/save dialogs, activate the OK button on Enter keypress

This commit is contained in:
Nedko Arnaudov 2010-09-03 02:25:20 +03:00
parent 56668528c2
commit 41d1bab23e
1 changed files with 7 additions and 0 deletions

View File

@ -675,6 +675,7 @@ along with LADI Session Handler; if not, write to the Free Software Foundation,
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">&#x25CF;</property>
<property name="activates_default">True</property>
</object>
<packing>
<property name="position">1</property>
@ -724,6 +725,8 @@ along with LADI Session Handler; if not, write to the Free Software Foundation,
<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="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
<property name="use_stock">True</property>
@ -1545,6 +1548,7 @@ along with LADI Session Handler; if not, write to the Free Software Foundation,
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">&#x25CF;</property>
<property name="activates_default">True</property>
</object>
<packing>
<property name="left_attach">1</property>
@ -1556,6 +1560,7 @@ along with LADI Session Handler; if not, write to the Free Software Foundation,
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="invisible_char">&#x25CF;</property>
<property name="activates_default">True</property>
</object>
<packing>
<property name="left_attach">1</property>
@ -1593,6 +1598,8 @@ along with LADI Session Handler; if not, write to the Free Software Foundation,
<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>