aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-09-15 19:52:47 +0800
committerChristian Persch <chpe@src.gnome.org>2005-09-15 19:52:47 +0800
commit67661fefc75a5a76269b51b7281a272aae438060 (patch)
treea463fbe24931241a571c4117f859689f73ab4988
parent0607796ab17b0f5a9f3a41fbc5cbd11b1b62b352 (diff)
downloadgsoc2013-epiphany-67661fefc75a5a76269b51b7281a272aae438060.tar.gz
gsoc2013-epiphany-67661fefc75a5a76269b51b7281a272aae438060.tar.zst
gsoc2013-epiphany-67661fefc75a5a76269b51b7281a272aae438060.zip
Make Close the default button.
2005-09-15 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_construct): Make Close the default button.
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-toolbar-editor.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5d21763d0..95cd40207 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-09-15 Christian Persch <chpe@cvs.gnome.org>
+
+ * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_construct):
+
+ Make Close the default button.
+
2005-09-14 Christian Persch <chpe@cvs.gnome.org>
* src/window-commands.c: (window_cmd_help_about):
diff --git a/src/ephy-toolbar-editor.c b/src/ephy-toolbar-editor.c
index 098991d8c..a8179dd42 100644
--- a/src/ephy-toolbar-editor.c
+++ b/src/ephy-toolbar-editor.c
@@ -289,6 +289,7 @@ ephy_toolbar_editor_constructor (GType type,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
gtk_dialog_add_button (GTK_DIALOG (dialog),
GTK_STOCK_HELP, GTK_RESPONSE_HELP);
+ gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE);
gtk_widget_show (editor);