GNOME Bugzilla – Bug 631761
drop status icon use
Last modified: 2011-02-09 21:41:19 UTC
GNOME 3 will discourage status icon use. GNOME core components should generally either provide UI through the shell directly (system status indicator, system modal, etc) or use libnotify. PolicyKit currently uses a status icon when it has temporary authorizations. I think we should probably just drop this for now and possibly show something in a System Settings panel at some point if it is necessary. Also see http://live.gnome.org/GnomeShell/Design/Guidelines/MessageTray/Compatibility
Created attachment 173365 [details] [review] Don't use a status icon for temporary authorizations GNOME 3 won't be supporting status icons.
David, what is the best way to test this?
(In reply to comment #2) > David, what is the best way to test this? Insure the polkit-devel package is installed, then just run $ pkexec pk-example-frobnicate
What is the way do drop temporarily gained priviliges now?
You can a) wait until they time out b) run gdbus call --system --dest org.freedesktop.PolicyKit1 --object-path /org/freedesktop/PolicyKit1/Authority --method org.freedesktop.PolicyKit1.Authority.RevokeTemporaryAuthorizations "( 'unix-session', { 'session-id' : < '/org/freedesktop/ConsoleKit/Session3' > } )" with your session id c) wait until the screensaver has been taught to do that and lock your screen
None of that sounds really convincing, especially not c) as it only works with gnome-screensaver.
oh, I forgot d) write your own authentication agent if you are unhappy with the one GNOME provides you for free...