diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-01-21 01:32:06 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-01-21 01:32:06 +0800 |
commit | 7f3a61ee529d46bcbe80ccb80b1ee58c5cae33a2 (patch) | |
tree | de2c2ae14f59f950e2dea83ee01617f184c29177 | |
parent | 23803322609824d4c545bbad2753b44d8b2f1bcb (diff) | |
download | gsoc2013-evolution-7f3a61ee529d46bcbe80ccb80b1ee58c5cae33a2.tar.gz gsoc2013-evolution-7f3a61ee529d46bcbe80ccb80b1ee58c5cae33a2.tar.zst gsoc2013-evolution-7f3a61ee529d46bcbe80ccb80b1ee58c5cae33a2.zip |
Changed the logic of the visibility of the passwd text so that we hid ethe
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.
svn path=/trunk/; revision=24328
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-session.c | 2 |
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); |