[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: PolicyKit integration in KDE take 1: systemsettings and kcmshell
From:       Sebastian =?iso-8859-1?q?K=FCgler?= <sebas () kde ! org>
Date:       2009-03-13 1:23:55
Message-ID: 200903130224.14725.sebas () kde ! org
[Download RAW message or body]


On Tuesday 10 March 2009 15:41:08 dantti85-dev@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:
> Yes|No|Auth
> (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 :-)).
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic