empathy r1860 - trunk/libempathy-gtk



Author: xclaesse
Date: Fri Nov 21 16:21:40 2008
New Revision: 1860
URL: http://svn.gnome.org/viewvc/empathy?rev=1860&view=rev

Log:
ft-manager: add comment explaining how to use GIcon with GTK 2.14

Modified:
   trunk/libempathy-gtk/empathy-ft-manager.c

Modified: trunk/libempathy-gtk/empathy-ft-manager.c
==============================================================================
--- trunk/libempathy-gtk/empathy-ft-manager.c	(original)
+++ trunk/libempathy-gtk/empathy-ft-manager.c	Fri Nov 21 16:21:40 2008
@@ -636,7 +636,9 @@
 
   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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]