aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-15 20:28:57 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-12-15 22:40:52 +0800
commit594e7fee5d0fc22e385da905e1db93829553f0ed (patch)
tree74da083c7c6b321866517304c377d6251a05d360 /libempathy/empathy-utils.c
parent881ee2e637f50afaaba49447d428632233676279 (diff)
downloadgsoc2013-empathy-594e7fee5d0fc22e385da905e1db93829553f0ed.tar
gsoc2013-empathy-594e7fee5d0fc22e385da905e1db93829553f0ed.tar.gz
gsoc2013-empathy-594e7fee5d0fc22e385da905e1db93829553f0ed.tar.bz2
gsoc2013-empathy-594e7fee5d0fc22e385da905e1db93829553f0ed.tar.lz
gsoc2013-empathy-594e7fee5d0fc22e385da905e1db93829553f0ed.tar.xz
gsoc2013-empathy-594e7fee5d0fc22e385da905e1db93829553f0ed.tar.zst
gsoc2013-empathy-594e7fee5d0fc22e385da905e1db93829553f0ed.zip
empathy_protocol_icon_name: use the Yahoo icon for Yahoo Japan (#604567)
Diffstat (limited to 'libempathy/empathy-utils.c')
-rw-r--r--libempathy/empathy-utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 6fdd6d257..621459abe 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);
}