aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-03-07 02:25:23 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-03-07 02:25:23 +0800
commit2e4ccf263ead9348a02305adf35da23c26e25923 (patch)
tree921ac87d769b62ebdb542574552e2d4951c9815f
parentfee7743aa0b86a9fe7d777ebf3db4bff94fc208d (diff)
downloadgsoc2013-evolution-2e4ccf263ead9348a02305adf35da23c26e25923.tar.gz
gsoc2013-evolution-2e4ccf263ead9348a02305adf35da23c26e25923.tar.zst
gsoc2013-evolution-2e4ccf263ead9348a02305adf35da23c26e25923.zip
(e_request_string): Make the entry activate the
default response in the dialog. svn path=/trunk/; revision=20207
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-request.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 5420403165..6f6e90eb84 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-06 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-request.c (e_request_string): Make the entry activate the
+ default response in the dialog.
+
2003-03-03 Rodney Dawes <dobey@ximian.com>
* e-proxy.c: Use gnome2 proxy settings
diff --git a/e-util/e-request.c b/e-util/e-request.c
index 615a9fc69b..f501534a41 100644
--- a/e-util/e-request.c
+++ b/e-util/e-request.c
@@ -76,6 +76,7 @@ e_request_string (GtkWindow *parent,
entry = gtk_entry_new ();
gtk_entry_set_text (GTK_ENTRY (entry), default_string);
gtk_editable_select_region (GTK_EDITABLE (entry), 0, -1);
+ gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
gtk_box_pack_start (GTK_BOX (vbox), entry, TRUE, TRUE, 3);
gtk_widget_grab_focus (entry);