keyboard: Discard the added shortcut on Escape
If the user press Escape key after the user have set some shortcut, don't save the newly set shortcut, and close the dialog. https://bugzilla.gnome.org/show_bug.cgi?id=778748
This commit is contained in:
parent
25c4f82365
commit
eeddf497af
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
<property name="height_request">300</property>
|
||||
<property name="window_position">center</property>
|
||||
<property name="type_hint">dialog</property>
|
||||
<signal name="close" handler="cancel_button_clicked_cb" object="CcKeyboardShortcutEditor" swapped="no" />
|
||||
<signal name="delete-event" handler="gtk_widget_hide_on_delete" object="CcKeyboardShortcutEditor" swapped="yes"/>
|
||||
<child internal-child="vbox">
|
||||
<object class="GtkBox">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue