Re: using gsettings / gconf in extensions





2011/5/26 Tim Cuthbertson <tim gfxmonk net>
On Wed, May 25, 2011 at 11:55 PM, Giovanni Campagna
<scampa giovanni gmail com> wrote:
> PS: note that extensions with GSettings must be installed system-wide,
> so you'd better have them in gnome-shell-extensions repo, so they're
> picked up by distribution packages.

Really? can I ask what the reason for this is? I am personally a
pretty big fan of *not* installing things system-wide, but would still
like to use GSettings...

Yeah, in my opinion the only legitimate reason to install an extension system-wide is for an administrator to enforce its use on a multi-user system. So in the "normal" case of a single desktop user, an extension should be self-contained (e.g. in a single directory) in the users home directory (firefox style). Unfortunately, GSettings does not support this yet[0], so until it does, schemas have to be installed in the path GIO searches for schemas.

Florian


[0] https://bugzilla.gnome.org/show_bug.cgi?id=649717


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]