[empathy] Use the 'phone' icon for the 'sms' protocol



commit ccb3964865cf65dcca05a145ceac91137746c331
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Feb 10 13:06:19 2010 +0000

    Use the 'phone' icon for the 'sms' protocol

 libempathy/empathy-utils.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index e2cd9c0..fedb14b 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -397,6 +397,8 @@ empathy_protocol_icon_name (const gchar *protocol)
   else if (!tp_strdiff (protocol, "simple"))
     /* SIMPLE uses the same icon as SIP */
     protocol = "sip";
+  else if (!tp_strdiff (protocol, "sms"))
+    return g_strdup ("phone");
 
   return g_strdup_printf ("im-%s", protocol);
 }



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