aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-session.c8
2 files changed, 13 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 23f92e1541..501e3e15d6 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2003-02-06 Larry Ewing <lewing@ximian.com>
+
+ * mail-session.c (pass_activate): add an activate handler to the
+ entry so that hitting return will return an OK response.
+
2003-02-05 Dan Winship <danw@ximian.com>
* main.c (main): s/glade_gnome_init/glade_init/
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 6d6ecb29b4..fadf2c2e0f 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -176,6 +176,13 @@ struct _pass_msg {
static void do_get_pass(struct _mail_msg *mm);
static void
+pass_activate (GtkEntry *entry, void *data)
+{
+ if (password_dialog)
+ gtk_dialog_response (password_dialog, GTK_RESPONSE_OK);
+}
+
+static void
pass_response (GtkDialog *dialog, int button, void *data)
{
struct _pass_msg *m = data;
@@ -257,6 +264,7 @@ request_password (struct _pass_msg *m)
m->entry = gtk_entry_new ();
gtk_entry_set_visibility ((GtkEntry *) m->entry, !m->secret);
+ g_signal_connect (m->entry, "activate", G_CALLBACK (pass_activate), password_dialog);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (password_dialog)->vbox), m->entry, TRUE, FALSE, 0);
gtk_widget_show (m->entry);
3f3dbf88ac30710'>Update to 0.050sunpoet2017-09-232-4/+4 * Update to 0.048sunpoet2017-06-192-4/+5 * Update to 0.047sunpoet2017-04-272-4/+4 * Update to 0.046sunpoet2017-04-182-4/+4 * Update to 0.045sunpoet2017-03-252-6/+6 * Update to 0.043sunpoet2017-02-253-10/+16 * Fix, update and sort *_DEPENDSsunpoet2017-02-141-7/+9 * Update to 0.38, and add NO_ARCH.adamw2016-06-252-4/+7 * Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.mat2016-04-011-8/+8 * - update to 0.037lth2016-02-222-4/+4 * Update to 0.035lth2015-10-172-5/+6 * MASTER_SITES cleanup.mat2015-05-141-1/+0 * - Update to 0.025lth2015-01-062-4/+3 * Change the way Perl modules are installed, update the default Perl to 5.18.mat2014-11-262-1/+1 * Cleanup plistbapt2014-10-27