Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-09 Thread Ryan Lortie
hi On Wed, 2010-07-07 at 15:15 -0400, Shaun McCance wrote: But if you provide an API with GFile, I suppose people will expect to be able to hand it all sorts of GFiles, so storing the URI would be preferable. I think this is getting ridiculous. As it stands, I made recent modifications to

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-07 Thread A. Walton
On Mon, Jul 5, 2010 at 10:06 PM, Russell Shaw rjs...@netspace.net.au wrote: Alexander Larsson wrote: On Sat, 2010-07-03 at 13:25 -0400, Ryan Lortie wrote: On Sat, 2010-07-03 at 13:37 +0200, Christian Persch wrote: This is a common error. Filenames need to be stored as ay and *NOT* s (since

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-07 Thread Shaun McCance
On Mon, 2010-07-05 at 10:43 +0200, Alexander Larsson wrote: On Sat, 2010-07-03 at 13:25 -0400, Ryan Lortie wrote: On Sat, 2010-07-03 at 13:37 +0200, Christian Persch wrote: This is a common error. Filenames need to be stored as ay and *NOT* s (since s is UTF-8). (I think this needs some

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-07 Thread Alan Cox
A possible solution is to store paths under your home directory as relative paths, and when reading, assume any relative paths are relative to your home directory. Doing this with each individual application would be tiresome and error-prone, but it would be easy with a convenience API like

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-07 Thread Matthias Clasen
On Sat, Jul 3, 2010 at 7:37 AM, Christian Persch c...@gnome.org wrote: -- org.gnome.desktop.url-handlers.gschema.xml: This should be a settings list, with a base schema for the enabled, exec and needs-terminal keys; actually the same base schema as

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-07 Thread Alexander Larsson
On Wed, 2010-07-07 at 15:24 +0100, Alan Cox wrote: A possible solution is to store paths under your home directory as relative paths, and when reading, assume any relative paths are relative to your home directory. Doing this with each individual application would be tiresome and

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-07 Thread Alexander Larsson
On Wed, 2010-07-07 at 10:01 -0400, Shaun McCance wrote: On Mon, 2010-07-05 at 10:43 +0200, Alexander Larsson wrote: On Sat, 2010-07-03 at 13:25 -0400, Ryan Lortie wrote: On Sat, 2010-07-03 at 13:37 +0200, Christian Persch wrote: This is a common error. Filenames need to be stored as ay

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-07 Thread Shaun McCance
On Wed, 2010-07-07 at 20:58 +0200, Alexander Larsson wrote: On Wed, 2010-07-07 at 10:01 -0400, Shaun McCance wrote: On Mon, 2010-07-05 at 10:43 +0200, Alexander Larsson wrote: On Sat, 2010-07-03 at 13:25 -0400, Ryan Lortie wrote: On Sat, 2010-07-03 at 13:37 +0200, Christian Persch wrote:

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-07 Thread Alexander Larsson
On Wed, 2010-07-07 at 08:04 -0400, A. Walton wrote: On Mon, Jul 5, 2010 at 10:06 PM, Russell Shaw rjs...@netspace.net.au wrote: Alexander Larsson wrote: On Sat, 2010-07-03 at 13:25 -0400, Ryan Lortie wrote: On Sat, 2010-07-03 at 13:37 +0200, Christian Persch wrote: This is a common

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-07 Thread Alexander Larsson
On Wed, 2010-07-07 at 15:15 -0400, Shaun McCance wrote: On Wed, 2010-07-07 at 20:58 +0200, Alexander Larsson wrote: On Wed, 2010-07-07 at 10:01 -0400, Shaun McCance wrote: On Mon, 2010-07-05 at 10:43 +0200, Alexander Larsson wrote: On Sat, 2010-07-03 at 13:25 -0400, Ryan Lortie wrote:

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-07 Thread Alexander Larsson
On Wed, 2010-07-07 at 10:23 -0400, Matthias Clasen wrote: On Sat, Jul 3, 2010 at 7:37 AM, Christian Persch c...@gnome.org wrote: -- org.gnome.desktop.url-handlers.gschema.xml: This should be a settings list, with a base schema for the enabled,

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-05 Thread Alexander Larsson
On Sat, 2010-07-03 at 13:25 -0400, Ryan Lortie wrote: On Sat, 2010-07-03 at 13:37 +0200, Christian Persch wrote: This is a common error. Filenames need to be stored as ay and *NOT* s (since s is UTF-8). (I think this needs some enhancement in glib-compile-schemas to be able to still put a

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-05 Thread Danielle Madeley
On Sun, 2010-07-04 at 00:10 +0100, James Sharpe wrote: Might I suggest that you take the opportunity at this point to extend the schema to at least consider support for multiple desktops / monitors. One of the difficulties that I found when looking at this in GSOC a few years back was that

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-05 Thread Russell Shaw
Alexander Larsson wrote: On Sat, 2010-07-03 at 13:25 -0400, Ryan Lortie wrote: On Sat, 2010-07-03 at 13:37 +0200, Christian Persch wrote: This is a common error. Filenames need to be stored as ay and *NOT* s (since s is UTF-8). (I think this needs some enhancement in glib-compile-schemas to be

desktop schemas review [was: Re: GSettings migration status]

2010-07-03 Thread Christian Persch
Hi; I think we should use the opportunity of converting to gsettings to redesign the desktop schemas, not just do a 1:1 translation from gconf. Let me make some remarks about the gsettings desktop schemas as they right now are in gsettings-desktop-schemas module.

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-03 Thread Vincent Untz
Hi, Le samedi 03 juillet 2010, à 13:37 +0200, Christian Persch a écrit : Hi; I think we should use the opportunity of converting to gsettings to redesign the desktop schemas, not just do a 1:1 translation from gconf. Let me make some remarks about the gsettings desktop schemas as they

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-03 Thread Milan Bouchet-Valat
Le samedi 03 juillet 2010 à 13:37 +0200, Christian Persch a écrit : Hi; I think we should use the opportunity of converting to gsettings to redesign the desktop schemas, not just do a 1:1 translation from gconf. Let me make some remarks about the gsettings desktop schemas as they right

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-03 Thread Ryan Lortie
On Sat, 2010-07-03 at 13:37 +0200, Christian Persch wrote: Finally, I'd like to suggest that gsettings-desktop-schemas install a header file containing #define's for each schema ID, schema, path and all the key names. I tried to discuss this on IRC because I believe it's a good idea. It's

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-03 Thread Ryan Lortie
On Sat, 2010-07-03 at 13:37 +0200, Christian Persch wrote: This is a common error. Filenames need to be stored as ay and *NOT* s (since s is UTF-8). (I think this needs some enhancement in glib-compile-schemas to be able to still put a string in default.) I'm not sure I buy into your hardline

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-03 Thread Christian Persch
Hi; Am Sat, 03 Jul 2010 13:22:16 -0400 schrieb Ryan Lortie de...@desrt.ca: On Sat, 2010-07-03 at 13:37 +0200, Christian Persch wrote: Finally, I'd like to suggest that gsettings-desktop-schemas install a header file containing #define's for each schema ID, schema, path and all the key

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-03 Thread Ryan Lortie
On Sat, 2010-07-03 at 13:37 +0200, Christian Persch wrote: Coincidentally, taking a look at all the summary and description strings, it seems to me that once these value enumerations are taken out, not too much remains that justifies the split between two strings. IMHO we should consider

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-03 Thread Christian Persch
Hi; Am Sat, 03 Jul 2010 17:08:36 +0200 schrieb Milan Bouchet-Valat nalimi...@club.fr: Le samedi 03 juillet 2010 à 13:37 +0200, Christian Persch a écrit : Coincidentally, taking a look at all the summary and description strings, it seems to me that once these value enumerations are taken

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-03 Thread Philip Withnall
On Sat, 2010-07-03 at 19:48 +0200, Christian Persch wrote: Hi; Am Sat, 03 Jul 2010 17:08:36 +0200 schrieb Milan Bouchet-Valat nalimi...@club.fr: Le samedi 03 juillet 2010 à 13:37 +0200, Christian Persch a écrit : Coincidentally, taking a look at all the summary and description

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-03 Thread Christian Persch
Hi; Am Sat, 03 Jul 2010 19:29:13 +0100 schrieb Philip Withnall phi...@tecnocode.co.uk: On Sat, 2010-07-03 at 19:48 +0200, Christian Persch wrote: Am Sat, 03 Jul 2010 17:08:36 +0200 schrieb Milan Bouchet-Valat nalimi...@club.fr: If only one string was provided, it would be a pain to find

Re: desktop schemas review [was: Re: GSettings migration status]

2010-07-03 Thread James Sharpe
On 3 July 2010 12:58, Vincent Untz vu...@gnome.org wrote: Hi, Le samedi 03 juillet 2010, à 13:37 +0200, Christian Persch a écrit : Hi; I think we should use the opportunity of converting to gsettings to redesign the desktop schemas, not just do a 1:1 translation from gconf. Let me