]> git.0d.be Git - empathy.git/commitdiff
ft-manager: add comment explaining how to use GIcon with GTK 2.14
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 21 Nov 2008 16:21:40 +0000 (16:21 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 21 Nov 2008 16:21:40 +0000 (16:21 +0000)
svn path=/trunk/; revision=1860

libempathy-gtk/empathy-ft-manager.c

index 76b5433b32293b524823c8d1e0032235b09fba76..5961d49fd7a26bdf0e3bc90db446669010a0b453 100644 (file)
@@ -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);