Mike Dransfield
2007-May-15 18:23 UTC
[compiz] [PATCH] Descriptions for dbus when plugin not loaded
Here is a quick patch for dbus to make it try to load the metadata from a file if the plugin is not loaded. I have tested it and it works fine, but I wanted to check to see if you had something else in mind. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: dbus-offline-descriptions.txt Url: http://lists.freedesktop.org/archives/compiz/attachments/20070515/250f1357/attachment.txt
David Reveman
2007-May-17 18:48 UTC
[compiz] [PATCH] Descriptions for dbus when plugin not loaded
On Tue, 2007-05-15 at 19:23 +0100, Mike Dransfield wrote:> Here is a quick patch for dbus to make it try to load the > metadata from a file if the plugin is not loaded. > > I have tested it and it works fine, but I wanted to check to > see if you had something else in mind.Yes, I think we should load/initialize and read the metadata from plugins. Some minor changes need to be made to the plugin system before we're able to load and initialize a plugin without activating it but it should be easy to fix. BTW, I'm not very interested in just returning the descriptions. The GetPluginMetadata method should return an array of full meta data documents. This needs to be supported by the dbus plugin before we can remove plugin dependencies from the core. - David