]> www.fi.muni.cz Git - evince.git/commitdiff
Mark close button as default. Fix for 316381.
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sat, 17 Sep 2005 08:46:14 +0000 (08:46 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sat, 17 Sep 2005 08:46:14 +0000 (08:46 +0000)
* shell/ev-properties-dialog.c: (ev_properties_dialog_init):

Mark close button as default. Fix for 316381.

ChangeLog
shell/ev-properties-dialog.c

index 0eedcc144e5902c335e31025a35b534b1d35d784..577189489968467189b763ad2e0663b68d1d2a1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-09-17  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>
+
+       * shell/ev-properties-dialog.c: (ev_properties_dialog_init):
+       
+       Mark close button as default. Fix for 316381.
+
 2005-09-16  Marco Pesenti Gritti  <mpg@redhat.com>
 
        * backend/ev-link.c: (ev_link_class_init):
index 220728e6d3a1ca45b68e43ee18310f90c04eb123..f4431a54b283e3f2138869fecf37a2aca911c788 100644 (file)
@@ -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);