[empathy] Only set the icon name to gtalk for gtalk accounts



commit 4f50ef89674ae7404f58a06cc78e00841e1c4d65
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Mon Aug 31 16:05:00 2009 +0100

    Only set the icon name to gtalk for gtalk accounts

 src/empathy-account-assistant.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 9c55b36..ca4881f 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -324,7 +324,8 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser,
 
   settings = empathy_account_settings_new (cm->name, proto->name, str);
 
-  empathy_account_settings_set_icon_name_async (settings, "im-google-talk",
+  if (is_gtalk)
+    empathy_account_settings_set_icon_name_async (settings, "im-google-talk",
       NULL, NULL);
 
   if (priv->first_resp == RESPONSE_CREATE_ACCOUNT)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]