Bug 331836 - Missing Escape -> Close binding (in Theme Preferences)
Missing Escape -> Close binding (in Theme Preferences)
Status: RESOLVED DUPLICATE of bug 101293
Product: gnome-control-center
Classification: Core
Component: [obsolete] theme-manager
2.12.x
Other All
: Normal minor
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
:
Depends on: 101293
Blocks:
  Show dependency tree
 
Reported: 2006-02-20 01:19 UTC by Olaf van der Spek
Modified: 2006-04-26 20:31 UTC (History)
3 users (show)

See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments

Description Olaf van der Spek 2006-02-20 01:19:04 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:
Comment 1 Luca Cavalli 2006-02-20 22:34:33 UTC
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.
Comment 2 Olaf van der Spek 2006-02-20 23:09:20 UTC
Why would Escape be reserved for Cancel?
Comment 3 Luca Cavalli 2006-02-20 23:31:15 UTC
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
Comment 4 Federico Mena Quintero 2006-04-26 20:31:57 UTC

*** This bug has been marked as a duplicate of 101293 ***

Note You need to log in before you can comment on or make changes to this bug.