aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-08 23:52:23 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-02-09 04:02:28 +0800
commit8d186ba67e21afae30301944ab1f1069d2bbf886 (patch)
tree98c33cc9e92838414cd865ede437c88238baffff /libempathy
parent5e08c5298729a858681a2c211356eeee0d1d4399 (diff)
downloadgsoc2013-empathy-8d186ba67e21afae30301944ab1f1069d2bbf886.tar
gsoc2013-empathy-8d186ba67e21afae30301944ab1f1069d2bbf886.tar.gz
gsoc2013-empathy-8d186ba67e21afae30301944ab1f1069d2bbf886.tar.bz2
gsoc2013-empathy-8d186ba67e21afae30301944ab1f1069d2bbf886.tar.lz
gsoc2013-empathy-8d186ba67e21afae30301944ab1f1069d2bbf886.tar.xz
gsoc2013-empathy-8d186ba67e21afae30301944ab1f1069d2bbf886.tar.zst
gsoc2013-empathy-8d186ba67e21afae30301944ab1f1069d2bbf886.zip
Use the SIP icon for the SIMPLE protocol
SIMPLE is a SIP extension.
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-utils.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index b748726c5..e2cd9c023 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -392,8 +392,11 @@ gchar *
empathy_protocol_icon_name (const gchar *protocol)
{
if (!tp_strdiff (protocol, "yahoojp"))
- /* Yahoo Japan use the same icon as Yahoo */
+ /* Yahoo Japan uses the same icon as Yahoo */
protocol = "yahoo";
+ else if (!tp_strdiff (protocol, "simple"))
+ /* SIMPLE uses the same icon as SIP */
+ protocol = "sip";
return g_strdup_printf ("im-%s", protocol);
}