[empathy] empathy_protocol_icon_name: use the Yahoo icon for Yahoo Japan (#604567)
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] empathy_protocol_icon_name: use the Yahoo icon for Yahoo Japan (#604567)
- Date: Tue, 15 Dec 2009 14:41:06 +0000 (UTC)
commit 594e7fee5d0fc22e385da905e1db93829553f0ed
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Dec 15 12:28:57 2009 +0000
empathy_protocol_icon_name: use the Yahoo icon for Yahoo Japan (#604567)
libempathy/empathy-utils.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 6fdd6d2..621459a 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -391,6 +391,10 @@ empathy_uint_compare (gconstpointer a,
gchar *
empathy_protocol_icon_name (const gchar *protocol)
{
+ if (!tp_strdiff (protocol, "yahoojp"))
+ /* Yahoo Japan use the same icon as Yahoo */
+ protocol = "yahoo";
+
return g_strdup_printf ("im-%s", protocol);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]