GNOME Bugzilla – Bug 343563
Export nautilus-sendto-plugin.h
Last modified: 2009-09-23 13:20:48 UTC
Currently it is not possible to build new plugins, unless the file is manually copied to the plugin source dir.
Created attachment 66585 [details] [review] export nautilus-sendto.pc and nautilus-sendto-plugin.h
I don't think the API is stable enough to be used outside nautilus-sendo itself.
Could require the external application to define NAUTILUS_SENDTO_API_SUBJECT_TO_CHANGE similar to DBUS in order to include the header.
We'd need versioning added to the plugin structure before we can export it. We'd also need to version the directories used to store the plugins. (In reply to comment #3) > Could require the external application to define > NAUTILUS_SENDTO_API_SUBJECT_TO_CHANGE similar to DBUS in order to include the > header. Which serves absolutely no help when the applications are actually using it, and nautilus-sendto starts crashing because of third-party plugins.
An update to say that I'd be happy to add such a patch now, as long as gtk-doc support is included as well, so some documentation is available for writing new plugins.
We also need to add a "gettext-package" member of the plugin structure, for plugins to be translated. The package name needs to be remembered in the plugin_list, and the call to gtk_tree_store_set() in nautilus-sendto-command.c changed to use the correct gettext package.
Comment on attachment 66585 [details] [review] export nautilus-sendto.pc and nautilus-sendto-plugin.h Committed something similar to master.
All fixed in master.