Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
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 /shell
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.
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-properties-dialog.c2
1 files changed, 2 insertions, 0 deletions
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);