GNOME Bugzilla – Bug 634060
Support for GIcon pixbufs
Last modified: 2010-11-05 15:27:06 UTC
In bug 634059 I proposed that GdkPixbuf should implement GIcon. Attached some patches to integrate that with GtkIconTheme/GtkIconInfo (and a test).
Created attachment 173870 [details] [review] icon-theme: support pixbufs implementing the GIcon interface
Created attachment 173871 [details] [review] tests: add a test for pixbufs implementing the GIcon interface
Created attachment 173872 [details] [review] icon-theme: always force icon sizes for emblems
Note that the last patch could probably be applied anyway, as it fixes inconsistencies when handling the emblem size (this is visible e.g. in nautilus, see [1]). [1] http://people.gnome.org/~cosimoc/emblems.png
Looks good to me, please apply. I guess we don't need to bump the gdk-pixbuf dep, since we will simply never see a gicon that is a pixbuf, with the current versin.
Attachment 173870 [details] pushed as 5071aa7 - icon-theme: support pixbufs implementing the GIcon interface Attachment 173871 [details] pushed as fcfd494 - tests: add a test for pixbufs implementing the GIcon interface Attachment 173872 [details] pushed as a994a9f - icon-theme: always force icon sizes for emblems