aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-11-22 00:21:40 +0800
committerxclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4>2008-11-22 00:21:40 +0800
commit43d3fc1b09ce20fa6e151af3df01c817c8cbfd54 (patch)
tree3d74498022433ea66dafba654ed6e85533cb8a04
parent860d471b1228c4ceed0c8e36bbd585947367dd31 (diff)
downloadgsoc2013-empathy-43d3fc1b09ce20fa6e151af3df01c817c8cbfd54.tar
gsoc2013-empathy-43d3fc1b09ce20fa6e151af3df01c817c8cbfd54.tar.gz
gsoc2013-empathy-43d3fc1b09ce20fa6e151af3df01c817c8cbfd54.tar.bz2
gsoc2013-empathy-43d3fc1b09ce20fa6e151af3df01c817c8cbfd54.tar.lz
gsoc2013-empathy-43d3fc1b09ce20fa6e151af3df01c817c8cbfd54.tar.xz
gsoc2013-empathy-43d3fc1b09ce20fa6e151af3df01c817c8cbfd54.tar.zst
gsoc2013-empathy-43d3fc1b09ce20fa6e151af3df01c817c8cbfd54.zip
ft-manager: add comment explaining how to use GIcon with GTK 2.14
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1860 4ee84921-47dd-4033-b63a-18d7a039a3e4
-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);