GNOME Bugzilla – Bug 585596
port to PolicyKit 1.0
Last modified: 2009-08-24 00:02:47 UTC
Here is the patch we use in Fedora
Created attachment 136466 [details] [review] patch
Thanks for the patch. AFAICS this requires a patched GConf (bug 585303) to work, so let's mark this report as blocked by the GConf one. Otherwise, the patch looks fine to me, apart for some duplicate code that could be factored out in a function (the snippet in gconf_pk_can_set() and gconf_pk_update_can_set_cache()) and some not-uniform indentation.
GConf dependency bug is fixed now. Cosimo: Do we want to get this in as it is or do you insist on refactoring the code a bit? Because I assume that Matthias is quite short in time currently...
Yeah, I pushed a modified version of this patch to master; I will release a new version containing this tomorrow. commit 6d5c0ac4041eaac3bb76391523f167870e03164e Author: Cosimo Cecchi <cosimoc@gnome.org> Date: Mon Aug 24 01:58:31 2009 +0200 port to PolicyKit 1.0 This also removes the need of depending on polkit-dbus, and needs a new GConf to work properly. Based on the patch by Matthias Clasen, fix bug #585596.