Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--shell/ev-properties-dialog.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0eedcc1..5771894 100644
--- 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):
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);