Re: path="" (or not) in GSettings schemas
- From: Ryan Lortie <desrt desrt ca>
- To: Matthias Clasen <matthias clasen gmail com>
- Cc: gtk-devel-list gnome org
- Subject: Re: path="" (or not) in GSettings schemas
- Date: Wed, 17 Oct 2012 12:29:52 -0400
On 12-10-17 12:17 PM, Matthias Clasen wrote:
to
<fixedschema id='a.b.c'>
<relocatableschema id='x.y.z'>
Seb mentioned a variation on this theme focusing on attribute names instead:
<schema pathid=...> <!-- same as fixedschema above -->
My problem with these proposals is that <schema> and "id" are the
natural names to use here and that people will find a lot of online
"help" instructing them about that.
It's also problematic from the standpoint of not wanting the entire
world to have to change over to the 'new way' and not wanting to have
two separate element/attribute names around forever.
From a purely aesthetic standpoint I guess I could accept <schema
name=''>...
Then we could have
<schema name='a.b.c'/>
<schema name='x.y.z' relocatable='yes'/>
and throw warnings if we ever see id=''... We could keep the warnings
forever (ie: never have an incompatible change).
I could see a lot of people being annoyed about that, though.
Cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]