diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-09-17 08:51:26 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-09-17 08:51:26 (GMT) |
commit | 07d1c6cffcfa0157ed447df3ef393c213306859f (patch) | |
tree | 479d17f62b120b62eecf5cbebed278ae88d2d008 /shell | |
parent | de943521fd81f589360337c3a94cbdc3ce3819d0 (diff) |
Make close button in toolbar editor default.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index 870818a..fe3d624 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2070,6 +2070,7 @@ ev_window_cmd_edit_toolbar (GtkAction *action, EvWindow *ev_window) GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL); + gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE); gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (dialog)), 5); gtk_box_set_spacing (GTK_BOX (GTK_DIALOG (dialog)->vbox), 2); gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE); |