aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-08-29 22:19:10 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2009-08-31 23:20:55 +0800
commit3c59ec5f8fc6de5c9be1fdd1638859a151bb6537 (patch)
tree4ffc8ce8c104f1dd8fc4fe83915b94945ab61ed8
parent35aa8545a7ba5d6bef718206f11d3b391dcfc4e4 (diff)
downloadgsoc2013-empathy-3c59ec5f8fc6de5c9be1fdd1638859a151bb6537.tar.gz
gsoc2013-empathy-3c59ec5f8fc6de5c9be1fdd1638859a151bb6537.tar.zst
gsoc2013-empathy-3c59ec5f8fc6de5c9be1fdd1638859a151bb6537.zip
Always set the icon name on account creation.
-rw-r--r--libempathy/empathy-account-settings.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libempathy/empathy-account-settings.c b/libempathy/empathy-account-settings.c
index d0858a7da..d79643fad 100644
--- a/libempathy/empathy-account-settings.c
+++ b/libempathy/empathy-account-settings.c
@@ -62,7 +62,6 @@ struct _EmpathyAccountSettingsPriv
gchar *protocol;
gchar *display_name;
gchar *icon_name;
- gboolean icon_name_set;
gboolean display_name_overridden;
gboolean ready;
@@ -990,7 +989,6 @@ empathy_account_settings_set_icon_name_async (
g_free (priv->icon_name);
priv->icon_name = g_strdup (name);
- priv->icon_name_set = TRUE;
g_simple_async_result_complete_in_idle (result);
@@ -1119,9 +1117,8 @@ empathy_account_settings_do_create_account (EmpathyAccountSettings *settings)
TP_STRUCT_TYPE_SIMPLE_PRESENCE, presence);
}
- if (priv->icon_name_set)
- tp_asv_set_string (properties, TP_IFACE_ACCOUNT ".Icon",
- priv->icon_name);
+ tp_asv_set_string (properties, TP_IFACE_ACCOUNT ".Icon",
+ priv->icon_name);
empathy_account_manager_create_account_async (priv->account_manager,
priv->cm_name, priv->protocol, priv->display_name,