aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-29 22:46:24 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-29 22:50:38 +0800
commit1bcccdbc977cc35af2edccc9b222d53a63a8c0b6 (patch)
treebb4e20bed2328278f89eaa3f84d21e656b774990 /libempathy-gtk
parente5a8856fbc12280af273c8329ee08ba4e6e3a044 (diff)
downloadgsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar.gz
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar.bz2
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar.lz
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar.xz
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.tar.zst
gsoc2013-empathy-1bcccdbc977cc35af2edccc9b222d53a63a8c0b6.zip
Add a utility function to may protocols to their icons
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-protocol-chooser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-protocol-chooser.c b/libempathy-gtk/empathy-protocol-chooser.c
index ebb198455..c17dfc526 100644
--- a/libempathy-gtk/empathy-protocol-chooser.c
+++ b/libempathy-gtk/empathy-protocol-chooser.c
@@ -134,8 +134,7 @@ protocol_choosers_add_cm (EmpathyProtocolChooser *chooser,
gchar *icon_name;
gchar *display_name;
-
- icon_name = g_strdup_printf ("im-%s", proto->name);
+ icon_name = empathy_protocol_icon_name (proto->name);
if (!tp_strdiff (cm->name, "haze"))
display_name = g_strdup_printf ("%s (Haze)", proto->name);