aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ft-manager.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:21:40 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:21:40 +0800
commit4fb0d4f9dad647e6141b0490c76ba8651d8b369e (patch)
tree3d74498022433ea66dafba654ed6e85533cb8a04 /libempathy-gtk/empathy-ft-manager.c
parent725180aedc1f5a7f2aa93c02abe5748915b82022 (diff)
downloadgsoc2013-empathy-4fb0d4f9dad647e6141b0490c76ba8651d8b369e.tar
gsoc2013-empathy-4fb0d4f9dad647e6141b0490c76ba8651d8b369e.tar.gz
gsoc2013-empathy-4fb0d4f9dad647e6141b0490c76ba8651d8b369e.tar.bz2
gsoc2013-empathy-4fb0d4f9dad647e6141b0490c76ba8651d8b369e.tar.lz
gsoc2013-empathy-4fb0d4f9dad647e6141b0490c76ba8651d8b369e.tar.xz
gsoc2013-empathy-4fb0d4f9dad647e6141b0490c76ba8651d8b369e.tar.zst
gsoc2013-empathy-4fb0d4f9dad647e6141b0490c76ba8651d8b369e.zip
ft-manager: add comment explaining how to use GIcon with GTK 2.14
svn path=/trunk/; revision=1860
Diffstat (limited to 'libempathy-gtk/empathy-ft-manager.c')
-rw-r--r--libempathy-gtk/empathy-ft-manager.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-ft-manager.c b/libempathy-gtk/empathy-ft-manager.c
index 76b5433b3..5961d49fd 100644
--- a/libempathy-gtk/empathy-ft-manager.c
+++ b/libempathy-gtk/empathy-ft-manager.c
@@ -636,7 +636,9 @@ ft_manager_add_tp_file_to_list (EmpathyFTManager *ft_manager,
theme = gtk_icon_theme_get_default ();
/* FIXME remove the dependency on libgnomeui replacing this function
- * with gio/gvfs or copying the code from gtk-recent */
+ * with gio/gvfs or copying the code from gtk-recent.
+ * With GTK+ 2.14 we can get the GIcon using g_content_type_get_icon
+ * and then use the "gicon" property of GtkCellRendererPixbuf. */
icon_name = gnome_icon_lookup (theme, NULL, NULL, NULL, NULL,
content_type, GNOME_ICON_LOOKUP_FLAGS_NONE, NULL);