aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-session.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 180e80a1e6..5b349892f2 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-20 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-session.c (request_password): Changed the logic of the
+ visibility of the passwd text so that we hid ethe passwd if the
+ flags have the SECRET bit set.
+
2004-01-20 Not Zed <NotZed@Ximian.com>
** See Bug #52817.
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 2b3a757f1b..101ee56ecc 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -282,7 +282,7 @@ request_password (struct _pass_msg *m)
gtk_container_set_border_width ((GtkContainer *) password_dialog, 6);
m->entry = gtk_entry_new ();
- gtk_entry_set_visibility ((GtkEntry *) m->entry, (m->flags & CAMEL_SESSION_PASSWORD_SECRET) != 0);
+ gtk_entry_set_visibility ((GtkEntry *) m->entry, !(m->flags & CAMEL_SESSION_PASSWORD_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, 3);
gtk_widget_show (m->entry);