kde-core-devel@kde.org
[Top] [All Lists]

Re: PolicyKit integration in KDE take 1: systemsettings and kcmshell

Subject: Re: PolicyKit integration in KDE take 1: systemsettings and kcmshell
From:
Date: Mon, 9 Mar 2009 11:11:38 -0700 PDT
To complement his ideas,
PolicyKit allows you to map actions like
org.kde.kdm.general
org.kde.kdm.dialog
org.kde.kdm.background

this way you can separate the privileged code,
using setPolicyKitAction(action)
you can detect which "tab" the user is and
when "apply" is called "org.kde.kdm.background"
can be issued to get an authorization.

Note that mapping is a nice feature but
making too many actions adds more compressibility 
to your code.

Also i'd like to say that we are willing to help
date & time and login manager kcm's to get
integrated with polkit. (of course if there are others
they can ask us for help too)

Daniel.


      Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com

<Prev in Thread] Current Thread [Next in Thread>