diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-09-17 08:46:14 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-09-17 08:46:14 (GMT) |
commit | de943521fd81f589360337c3a94cbdc3ce3819d0 (patch) | |
tree | c3689886f5787ead51cd6df1cba16de78710fa0c /shell/ev-properties-dialog.c | |
parent | a2566531c66e71ba06ebb988de1b53027c813cee (diff) |
Mark close button as default. Fix for 316381.
* shell/ev-properties-dialog.c: (ev_properties_dialog_init):
Mark close button as default. Fix for 316381.
Diffstat (limited to 'shell/ev-properties-dialog.c')
-rw-r--r-- | shell/ev-properties-dialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ev-properties-dialog.c b/shell/ev-properties-dialog.c index 220728e..f4431a5 100644 --- a/shell/ev-properties-dialog.c +++ b/shell/ev-properties-dialog.c @@ -66,6 +66,8 @@ ev_properties_dialog_init (EvPropertiesDialog *properties) gtk_dialog_add_button (GTK_DIALOG (properties), GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT); + gtk_dialog_set_default_response (GTK_DIALOG (properties), + GTK_RESPONSE_ACCEPT); properties->notebook = gtk_notebook_new (); gtk_container_set_border_width (GTK_CONTAINER (properties->notebook), 5); |