changeset 28296:a07e46f20644

Allow unsetting account alias in finch.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 26 Sep 2009 17:05:37 +0000
parents a143b7fcff4c
children 208fbf27d987
files finch/gntaccount.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntaccount.c	Fri Sep 25 03:41:49 2009 +0000
+++ b/finch/gntaccount.c	Sat Sep 26 17:05:37 2009 +0000
@@ -166,8 +166,7 @@
 
 	/* 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,