pidgin: 036f2367: Allow unsetting account alias in finch.

sadrul at pidgin.im sadrul at pidgin.im
Sat Sep 26 13:16:02 EDT 2009


-----------------------------------------------------------------
Revision: 036f23672a0a8337667b44f4736d9263ca5937a6
Ancestor: 0e53e7c5085b108c6af5334910c9cab7f559cdf3
Author: sadrul at pidgin.im
Date: 2009-09-26T17:05:37
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/036f23672a0a8337667b44f4736d9263ca5937a6

Modified files:
        finch/gntaccount.c

ChangeLog: 

Allow unsetting account alias in finch.

-------------- next part --------------
============================================================
--- finch/gntaccount.c	919d910889de567485855ac894b906b0d8632e7f
+++ finch/gntaccount.c	c6b4156930c182ef1211e0a87f79559ef0844b94
@@ -166,8 +166,7 @@ save_account_cb(AccountEditDialog *dialo
 
 	/* Alias */
 	value = gnt_entry_get_text(GNT_ENTRY(dialog->alias));
-	if (value && *value)
-		purple_account_set_alias(account, value);
+	purple_account_set_alias(account, value);
 
 	/* Remember password and password */
 	purple_account_set_remember_password(account,


More information about the Commits mailing list