Re: Using GSettings to set for all users

2010-06-03 Thread David Zeuthen
Hi, (It would probably be good to open a bug about this instead of doing it on a mailing list...) Here's a couple of comments. First, there's an assumption hard-wired into all of this that polkit works like this - Obtain an authorization to do XYZ - actually do XYZ while that's actually not

Re: Using GSettings to set for all users

2010-06-03 Thread Bastien Nocera
On Thu, 2010-06-03 at 17:40 +0200, Ryan Lortie wrote: > On Thu, 2010-06-03 at 10:30 -0400, Matthias Clasen wrote: > > On Thu, Jun 3, 2010 at 5:15 AM, Richard Hughes wrote: > > > The only remaining bits to port is the "set default" > > > button which sets the per-user settings for all

Re: Using GSettings to set for all users

2010-06-03 Thread Ryan Lortie
On Thu, 2010-06-03 at 10:30 -0400, Matthias Clasen wrote: > On Thu, Jun 3, 2010 at 5:15 AM, Richard Hughes wrote: > > The only remaining bits to port is the "set default" > > button which sets the per-user settings for all users. I'm > > unsure on how to port this in a GSetting

Re: Using GSettings to set for all users

2010-06-03 Thread Matthias Clasen
On Thu, Jun 3, 2010 at 5:15 AM, Richard Hughes wrote: > I'm about ready to push my gsettings branch of gnome-power-manager > into master. The only remaining bits to port is the "set default" > button which sets the per-user settings for all users. This used to > work using the DBus interface of GC

Using GSettings to set for all users

2010-06-03 Thread Richard Hughes
I'm about ready to push my gsettings branch of gnome-power-manager into master. The only remaining bits to port is the "set default" button which sets the per-user settings for all users. This used to work using the DBus interface of GConf (the policykit helper), but I'm unsure on how to port this