]> git.0d.be Git - empathy.git/commitdiff
Use the SIP icon for the SIMPLE protocol
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 8 Feb 2010 15:52:23 +0000 (15:52 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 8 Feb 2010 20:02:28 +0000 (20:02 +0000)
SIMPLE is a SIP extension.

libempathy/empathy-utils.c

index b748726c560660398391b3c5784f8a85a2eead17..e2cd9c023ceb5b1e21ad6e6a9fd226a7a2de738e 100644 (file)
@@ -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);
 }