aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-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);
015-10-091-0/+7 * Remove trailing whitespace from Makefiles, A-L.olgeni2015-10-082-2/+2 * Update to 10.0zeising2015-10-044-9/+27 * Typos, whitespace and capitalization fixes (A-F).olgeni2015-09-211-2/+2 * cad/meshdev: Support modern gcc by adding <cstring> headermarino2015-09-201-0/+10 * Update to r6201.mr2015-09-173-247/+255 * Remove ansi version fo wxGTK 2.8 and only keep the unicode versionbapt2015-09-172-2/+2 * Update the Qt4 ports to 4.8.7.rakuco2015-09-161-4/+4 * Make it so that the default Perl is always called perl5.mat2015-09-141-4/+4 * - Switch to options helpersamdmi32015-09-081-10/+5 * Update devel/tbb to 4.4.0 and bump dependent ports' revisionsmartymac2015-09-031-1/+1 * - Add USES=desktop-file-utils shared-mime-info as suggested by stage-qaamdmi32015-09-012-5/+12 * cad/librecad: add workaround to fix build with gccmakc2015-08-311-0/+3 * Drop USES=iconv.rakuco2015-08-311-2/+2 * - Bump PORTREVISION after libzip updatemakc2015-08-281-1/+1 * cad/librecad:makc2015-08-283-3/+1295 * - Split ghostscript into X11-independent and -dependent parts:hrs2015-08-231-1/+2 * - Fix build by fixing a typoamdmi32015-08-221-1/+3 * - Fix build by using correct flags for crippled configureamdmi32015-08-211-6/+6 * - Add NO_ARCHamdmi32015-08-201-0/+1 * Fix previous commit.mat2015-08-191-1/+0 * Convert ports to use the options helpers in categories [abc]*, and minor fixes.mat2015-08-1920-166/+71