diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-08-29 22:19:10 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-08-31 23:20:55 +0800 |
commit | 3c59ec5f8fc6de5c9be1fdd1638859a151bb6537 (patch) | |
tree | 4ffc8ce8c104f1dd8fc4fe83915b94945ab61ed8 | |
parent | 35aa8545a7ba5d6bef718206f11d3b391dcfc4e4 (diff) | |
download | gsoc2013-empathy-3c59ec5f8fc6de5c9be1fdd1638859a151bb6537.tar gsoc2013-empathy-3c59ec5f8fc6de5c9be1fdd1638859a151bb6537.tar.gz gsoc2013-empathy-3c59ec5f8fc6de5c9be1fdd1638859a151bb6537.tar.bz2 gsoc2013-empathy-3c59ec5f8fc6de5c9be1fdd1638859a151bb6537.tar.lz gsoc2013-empathy-3c59ec5f8fc6de5c9be1fdd1638859a151bb6537.tar.xz gsoc2013-empathy-3c59ec5f8fc6de5c9be1fdd1638859a151bb6537.tar.zst gsoc2013-empathy-3c59ec5f8fc6de5c9be1fdd1638859a151bb6537.zip |
Always set the icon name on account creation.
-rw-r--r-- | libempathy/empathy-account-settings.c | 7 |
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, |