GNOME Bugzilla – Bug 651187
Correctly register thumbnailers (without gconf schemas)
Last modified: 2011-12-07 21:47:17 UTC
Registering thumbnailers now doesn't require a gconf schema anymore, but just a .thumbnailer file in /usr/share/thumbnailers. This file is similar to a .desktop file. See for instance http://git.gnome.org/browse/evince/tree/thumbnailer/evince.thumbnailer.in
Created attachment 188704 [details] [review] Register thumbnailer the new way We now need a .thumbnailer file in $(datadir)/thumbnailers. This also means we don't need the gconf dependency anymore.
Interesting. Do you have a reference to documentation for this? Note to self: this patch conflicts with the recent doc/Makefile.am commit. Fix is trivial, no need to update patch.
Hrm, I'm not sure there's documentation outside https://bugzilla.gnome.org/show_bug.cgi?id=638172 I see we have an old integration guide mentioning the old way [1], but I'm not sure it's still maintained. I filed bug 653889 to get it fixed. [1] http://developer.gnome.org/integration-guide/stable/thumbnailer.html
Created attachment 201037 [details] Script to automatically convert the old GConf file into a I missed this functionality as well, so some time ago I wrote a conversion script for the registration file, the result of which I manually install in /usr (hacky, I know). FYI, this simple script is attached to this report. Unfortunately I discovered this bug too late so I did some duplicate work it seems... :s Any reason why this isn't merged yet?
> Any reason why this isn't merged yet? I am still hoping someone will actually document that this is the correct way to do things.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.