]> www.fi.muni.cz Git - evince.git/commitdiff
Make close button in toolbar editor default.
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sat, 17 Sep 2005 08:51:26 +0000 (08:51 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sat, 17 Sep 2005 08:51:26 +0000 (08:51 +0000)
ChangeLog
shell/ev-window.c

index 577189489968467189b763ad2e0663b68d1d2a1d..e5f452fa32e9b2dd9bf51cd24e8c4c109e7cbeb0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-09-17  Wouter Bolsterlee  <uws+gnome@xs4all.nl>
+
+       * shell/ev-window.c: (ev_window_cmd_edit_toolbar):
+       
+       Make close button default. Fix for 316383.
+
 2005-09-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
 
        * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
index 870818ad4841816ac0633285ae66d1db89d07ebf..fe3d6241f522e65caf8b2f7d234caae8863d8434 100644 (file)
@@ -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);