pidgin: 8ae38e41: Don't populate the password field on the...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Sat Nov 1 12:50:38 EDT 2008


-----------------------------------------------------------------
Revision: 8ae38e4108c4c7c302ab389b0491db4a884bad40
Ancestor: 2d7b7fd48672dee61014320193378c732c033bc2
Author: nosnilmot at pidgin.im
Date: 2008-11-01T16:45:09
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/8ae38e4108c4c7c302ab389b0491db4a884bad40

Modified files:
        pidgin/gtkaccount.c

ChangeLog: 

Don't populate the password field on the modify account dialog if we are
not actually remembering it permanently

-------------- next part --------------
============================================================
--- pidgin/gtkaccount.c	fa347c715bdc74162253c07350db15bb4a78230a
+++ pidgin/gtkaccount.c	1dc90c32a4f29151f3b9f05397255eeafc81f51e
@@ -562,7 +562,8 @@ add_login_options(AccountPrefsDialog *di
 
 	/* Set the fields. */
 	if (dialog->account != NULL) {
-		if (purple_account_get_password(dialog->account))
+		if (purple_account_get_password(dialog->account) &&
+		    purple_account_get_remember_password(dialog->account))
 			gtk_entry_set_text(GTK_ENTRY(dialog->password_entry),
 							   purple_account_get_password(dialog->account));
 


More information about the Commits mailing list