gnome-control-center r9216 - trunk/capplets/keybindings



Author: hadess
Date: Wed Jan 28 12:06:38 2009
New Revision: 9216
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9216&view=rev

Log:
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



Modified:
   trunk/capplets/keybindings/ChangeLog
   trunk/capplets/keybindings/gnome-keybinding-properties.c

Modified: trunk/capplets/keybindings/gnome-keybinding-properties.c
==============================================================================
--- trunk/capplets/keybindings/gnome-keybinding-properties.c	(original)
+++ trunk/capplets/keybindings/gnome-keybinding-properties.c	Wed Jan 28 12:06:38 2009
@@ -1851,6 +1851,8 @@
   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));
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]