[empathy] Use the SIP icon for the SIMPLE protocol



commit 8d186ba67e21afae30301944ab1f1069d2bbf886
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Feb 8 15:52:23 2010 +0000

    Use the SIP icon for the SIMPLE protocol
    
    SIMPLE is a SIP extension.

 libempathy/empathy-utils.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index b748726..e2cd9c0 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);
 }



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