[Bug 474392] Re: indicator-session menus are not policykit aware

2014-10-10 Thread Matthew Paul Thomas
** Changed in: indicator-session Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/474392 Title: indicator-session menus are not policykit aware To manage notifications

[Bug 474392] Re: indicator-session menus are not policykit aware

2014-01-02 Thread Matthew Paul Thomas
** Changed in: indicator-session Assignee: (unassigned) => Matthew Paul Thomas (mpt) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/474392 Title: indicator-session menus are not policykit aware

[Bug 474392] Re: indicator-session menus are not policykit aware

2013-12-22 Thread Iain Lane
For anyone who might want to write a patch for this; I think the target areas are service.c:575 and backend-dbus/actions.c. You'll want to hook up CanReboot and CanPowerOff to the visibility functions, and hide Shut Down when that says you can't do it, AFAICS. -- You received this bug notificatio

[Bug 474392] Re: indicator-session menus are not policykit aware

2013-12-21 Thread Alkis Georgopoulos
In Trusty, the relevant code has been rewritten to use logind instead of consolekit: http://bazaar.launchpad.net/~indicator-applet-developers/indicator-session/trunk.14.04/revision/388 But note that when invoking org.freedesktop.login1.Manager->CanPowerOff() from a remote session, its output is: