GNOME Bugzilla – Bug 331836
Missing Escape -> Close binding (in Theme Preferences)
Last modified: 2006-04-26 20:31:57 UTC
The Theme Preferences dialog can't be closed with the Escape key. I think Escape is frequently used to close dialogs, so it'd be nice if this dialog could be closed too. Other information:
ESC key is often used as quick shortcut for "Cancel" button. Since theme-manager dialog hasn't any "Cancel" button, ESC key should not close it.
Why would Escape be reserved for Cancel?
To tell the true I was wrong, sorry. Pressing ESC key in a dialog emits a GTK_RESPONSE_DELETE_EVENT event, but only if a button with GTK_RESPONSE_CANCEL response code is present. You can find more informations here [1] and here [2], at the end of gtk_dialog_class_init. [1] - http://bugzilla.gnome.org/show_bug.cgi?sourceid=Mozilla-search&id=101293 [2] - http://cvs.gnome.org/viewcvs/gtk%2B/gtk/gtkdialog.c?view=markup
*** This bug has been marked as a duplicate of 101293 ***