Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-09-17 08:46:14 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-09-17 08:46:14 (GMT)
commitde943521fd81f589360337c3a94cbdc3ce3819d0 (patch)
treec3689886f5787ead51cd6df1cba16de78710fa0c
parenta2566531c66e71ba06ebb988de1b53027c813cee (diff)
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.
-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);