GNOME Bugzilla – Bug 314423
Move EggIconChooser to GTK+
Last modified: 2013-02-04 06:09:40 UTC
As part of Project Ridley [1], it would definitly be nice to have the EggIconChooser in GTK+. It depends on EggPixbufThumbnail (an implementation of the fdo thumbnailing spec), which itself depends on EggMD5, and MD5 library. It also seems to depend on EggThumbnailPreview.
Is this widely used in Gnome applications ?
I think it is not used at all at the moment. GnomeIconEntry is used, though, which in turn uses GnomeIconSelection. The latter should IMHO be deprecated in favor of the EggIconChooser.
EggIconChooser depends on two other pieces: * an MD5 digest implementation * a thumbnail specification implementation the MD5 digest is needed by the current thumbnail spec for finding the thumbnail of a given URI. it would make sense to have: * an MD5 digest implementation in GLib (see bug 443648 for one); * at least the thumbnail-finding half of the thumbnail spec in GTK+; the thumbnail-finding part would be also used by the GtkFileChooser implementations and by the GtkRecentChooser implementations to display a thumbnail instead of the MIME type icon. then, if possible, the thumbnail-writing half of the thumbnail spec in GTK+, which would deprecate GnomeThumbnailFactory. sadly, it depends on GConf, so we should work out with XFCE and KDE a way to store the names of the thumbnailers into something that can be mmap()-ed. I remember that XFCE developers expressed (or even implemented) this for Thunar; a shared implementation would be quite useful.
> * an MD5 digest implementation in GLib (see bug 443648 for one); OK, this one is in for more than a year! > * at least the thumbnail-finding half of the thumbnail spec in GTK+; Does GIcon help here? I am not sure but it looks as it would go into the same direction.
Link to Gnome wiki: http://live.gnome.org/ProjectRidley/EggIconChooser
Link to thumbnail spec: http://live.gnome.org/ThumbnailerSpec. Also, some interesting link to tumbler, the new D-Bus thumbnailing service that is going to be used on Xfce 4.8 and Maemo 6: http://pvanhoof.be/blog/index.php/2009/10/28/tumbler http://gezeiten.org/post/2009/10/Using-Tumbler-in-Client-Applications