GSettings best practice

2010-11-07 Thread Ryan Lortie
Hi everyone,

We were sitting around at the Boston summit today (me, vuntz, tedg, and
pbor via IRC) noticing that we have a mix of people using /apps/gedit/
sort of paths and /org/gnome/evince/ sort of paths in GSettings.

We all prefer /org/gnome/evince/ type of paths.

Cheers

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: GSettings best practice

2010-11-07 Thread Milan Bouchet-Valat
Le dimanche 07 novembre 2010 à 10:57 -0500, Ryan Lortie a écrit :
 Hi everyone,
 
 We were sitting around at the Boston summit today (me, vuntz, tedg, and
 pbor via IRC) noticing that we have a mix of people using /apps/gedit/
 sort of paths and /org/gnome/evince/ sort of paths in GSettings.
 
 We all prefer /org/gnome/evince/ type of paths.
Hmpf, you should have spoken up earlier! ;-)

This was very quickly discussed with on the list, and nobody answered
then except Matthias:
http://mail.gnome.org/archives/desktop-devel-list/2010-June/msg00097.html

I was in favor of the org/gnome/something approach, but what would then
happen to /desktop/ keys, which (as Matthias said in his reply) would be
better kept separate? And what about the migration now that both schemes
are in use?


Regards



___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: GSettings best practice

2010-11-07 Thread Ted Gould
On Sun, 2010-11-07 at 17:15 +0100, Milan Bouchet-Valat wrote:
 Le dimanche 07 novembre 2010 à 10:57 -0500, Ryan Lortie a écrit :
  We were sitting around at the Boston summit today (me, vuntz, tedg, and
  pbor via IRC) noticing that we have a mix of people using /apps/gedit/
  sort of paths and /org/gnome/evince/ sort of paths in GSettings.
  
  We all prefer /org/gnome/evince/ type of paths.

 This was very quickly discussed with on the list, and nobody answered
 then except Matthias:
 http://mail.gnome.org/archives/desktop-devel-list/2010-June/msg00097.html
 
 I was in favor of the org/gnome/something approach, but what would then
 happen to /desktop/ keys, which (as Matthias said in his reply) would be
 better kept separate? 

I think that org.gnome.desktop makes sense.

 And what about the migration now that both schemes
 are in use?

Uhm, yes.  :)  I think they're just going to have to migrate.  It should
be a relatively straight forward transition.

--Ted



signature.asc
Description: This is a digitally signed message part
___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Re: GSettings best practice

2010-11-07 Thread Ryan Lortie
On Sun, 2010-11-07 at 11:24 -0500, Ted Gould wrote:
 Uhm, yes.  :)  I think they're just going to have to migrate.  It
 should
 be a relatively straight forward transition. 

One way or another, one group of app developers will be burned here.

At the same time, gsettings - gsettings migration sounds like a
particularly horrible proposition.

I'm sorry, and I'm open to suggestions. :)

Cheers

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: GSettings best practice

2010-11-07 Thread Ryan Lortie
On Sun, 2010-11-07 at 14:02 -0500, Diego Escalante Urrelo wrote:
 Btw, are caps allowed in schema names? We should state it a bit louder
 to prevent future chaos too.

yes.  I feel the current compromise about this that we see in DBus bus
names is about the right balance for schema names.

Paths should probably always be all-lowercase.  Keys must be.

Cheers

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list


Re: GSettings best practice

2010-11-07 Thread Robert Ancell
+1 for just picking a policy.  I suspect no-one really cares what the
policy is, as long as there is one.  Please pick one and make it
official by documenting it somewhere prominent!

On 8 November 2010 02:57, Ryan Lortie de...@desrt.ca wrote:
 Hi everyone,

 We were sitting around at the Boston summit today (me, vuntz, tedg, and
 pbor via IRC) noticing that we have a mix of people using /apps/gedit/
 sort of paths and /org/gnome/evince/ sort of paths in GSettings.

 We all prefer /org/gnome/evince/ type of paths.

 Cheers

 ___
 desktop-devel-list mailing list
 desktop-devel-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/desktop-devel-list

___
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list