[Bug 658181] Re: Banshee: hide optional features by default

Ugo Riboni ugo.riboni at canonical.com
Thu Oct 21 17:00:57 UTC 2010


I  looked into this and unfortunately your hope about gconf didn't come true.
While banshee uses gconf for a lot of settings, it does not do that for these views, which are handled by add-ins.

These add-ins are managed through a very flexible library called Mono.Addins [1], which unfortunately imposes some pretty complicated configuration schema.
In a nutshell, the configuration about which addins are enabled and which are disabled is stored in an XML file, and what's worse the path in which this XML file is stored is dynamically generated at runtime by the Mono.Addins library.

If I'm not misreading the source [2], it does use a scheme like this:
~/.config/<appname>/addin-db-<versiontag>/config.xml

where <versiontag> is an hardcoded number in the _Mono.Addins_ library.
I suppose it represents the database format version, but I can't be sure as there's no comments or docs explaining that.

Therefore, we have various choices to disable the addins you requested:
- assume versiontag will always be the same and use light-config to install the config.xml that will disable them by default.
- programmatically force them to be always disabled
- don't build and install them at all


[1] http://www.mono-project.com/Mono.Addins
[2] http://github.com/mono/mono-addins/blob/master/Mono.Addins/Mono.Addins.Database/AddinDatabase.cs#L47

-- 
Banshee: hide optional features by default
https://bugs.launchpad.net/bugs/658181
You received this bug notification because you are a member of Kernel
Bugs, which is a direct subscriber.




More information about the kernel-bugs mailing list