From de943521fd81f589360337c3a94cbdc3ce3819d0 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Sat, 17 Sep 2005 08:46:14 +0000 Subject: 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. --- diff --git a/ChangeLog b/ChangeLog index 0eedcc1..5771894 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-09-17 Nickolay V. Shmyrev + + * shell/ev-properties-dialog.c: (ev_properties_dialog_init): + + Mark close button as default. Fix for 316381. + 2005-09-16 Marco Pesenti Gritti * backend/ev-link.c: (ev_link_class_init): 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); -- cgit v0.9.1