PolicyKit integration in KDE take 1: systemsettings and kcmshell
sebas at kde.org
Fri Mar 13 01:23:55 GMT 2009
On Tuesday 10 March 2009 15:41:08 dantti85-dev at yahoo.com.br wrote:
> OK, i don't know if you already had any experience with
> PolicyKit but i'll try to clarify this:
> Any PolicyKit action has a Result,
> simplifying you might have:
> (there are more but the others aren't important for users)
> So the #2 and #3 would work this way in the apply button
> (|"object-locker"| Apply) if the Result is Auth (the object-locker is an
> icon) (Apply) disabled if the Result is No
> (Apply) - without the locker icon if it's Yes.
> the #3 option you said will always evaluate to YES,
> normally the user must check "remember my passord".
> And all this is automagically handled by polkit-qt, we just
> need to pass a QAbstractButton to ActionButton, and set the
> yes|No|Auth icons :D
> Please ask if this didn't clarify the subject.
I think that's what I aimed at. Thanks for the explanation (and the work on pk
to begin with :-)).
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 489 bytes
Desc: This is a digitally signed message part.
More information about the kde-core-devel