diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-07-29 22:46:24 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-07-29 22:50:38 +0800 |
commit | 1bcccdbc977cc35af2edccc9b222d53a63a8c0b6 (patch) | |
tree | bb4e20bed2328278f89eaa3f84d21e656b774990 /libempathy-gtk/empathy-protocol-chooser.c | |
parent | e5a8856fbc12280af273c8329ee08ba4e6e3a044 (diff) | |
download | gsoc2013-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/empathy-protocol-chooser.c')
-rw-r--r-- | libempathy-gtk/empathy-protocol-chooser.c | 3 |
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); |