Make Enter work as expected in the custom key shortcut edit dialogue

2009-01-28  Bastien Nocera  <hadess@hadess.net>

	* gnome-keybinding-properties.c (setup_dialog): Make Enter
	work as expected in the custom key shortcut edit dialogue


svn path=/trunk/; revision=9216
This commit is contained in:
Bastien Nocera 2009-01-28 12:06:38 +00:00 committed by Bastien Nocera
parent 1069e323e8
commit 4be1294945
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-01-28 Bastien Nocera <hadess@hadess.net>
* gnome-keybinding-properties.c (setup_dialog): Make Enter
work as expected in the custom key shortcut edit dialogue
2009-01-28 Bastien Nocera <hadess@hadess.net>
* gnome-keybinding-properties.c (append_keys_to_tree),

View file

@ -1851,6 +1851,8 @@ setup_dialog (GladeXML *dialog)
custom_shortcut_dialog = WID ("custom-shortcut-dialog");
custom_shortcut_name_entry = WID ("custom-shortcut-name-entry");
custom_shortcut_command_entry = WID ("custom-shortcut-command-entry");
gtk_dialog_set_default_response (GTK_DIALOG (custom_shortcut_dialog),
GTK_RESPONSE_OK);
gtk_window_set_transient_for (GTK_WINDOW (custom_shortcut_dialog),
GTK_WINDOW (widget));
}