From 7f3a61ee529d46bcbe80ccb80b1ee58c5cae33a2 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 20 Jan 2004 17:32:06 +0000 Subject: Changed the logic of the visibility of the passwd text so that we hid ethe 2004-01-20 Jeffrey Stedfast * 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. svn path=/trunk/; revision=24328 --- mail/ChangeLog | 6 ++++++ mail/mail-session.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * 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 ** 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); -- cgit v1.2.3