[et-mgmt-tools] [PATCH] Use org.freedesktop.PolicyKit.AuthenticationAgent for PolicyKit
Daniel P. Berrange
berrange at redhat.com
Mon May 5 19:54:43 UTC 2008
On Mon, May 05, 2008 at 05:31:50PM +0300, S.?a??lar Onur wrote:
> Hi;
>
> Following patch replaces deprecated "ShowDialog" method with
> "ObtainAuthorization" one and also changes desktop dependent
> "org.gnome.PolicyKit" interface with
> "org.freedesktop.PolicyKit.AuthenticationAgent" one to permit
> other PolicyKit Authentication Agents (like PolicyKit-KDE).
>
> Signed-off-by: S.Ça??lar Onur <caglar at pardus.org.tr>
I'm fine with this in principle, however, it needs to fallback to looking
for "org.gnome.PolicyKit" if "org.freedesktop.PolicyKit.AuthenticationAgent"
is not found, because the latter was only introduced in version 0.7 of
PolicyKit
Regards,
Daniel
--
|: Red Hat, Engineering, Boston -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the et-mgmt-tools
mailing list