Mailinglist Archive: opensuse-bugs (15103 mails)
| < Previous | Next > |
[Bug 302413] Gnome power manager does not display suspend/hibernate
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 12 Sep 2007 11:22:14 -0600 (MDT)
- Message-id: <20070912172214.D7D88CC78D@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=302413#c32
Danny Kukawka <dkukawka@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dkukawka@xxxxxxxxxx
--- Comment #32 from Danny Kukawka <dkukawka@xxxxxxxxxx> 2007-09-12 11:22:14 MST ---
(In reply to comment #28 from JP Rosevear)
> Fedora also has a newer policykit, they are explicitly turning off policy kit
> support --disable-policykit. The gpm support seems to be tied to the last
> official release i can find, 0.3.
>
> However it looks like all we really need to do is to link to libpolkit-grant
> and use the API there to query privileges.
It should be easier to use simply libhal to query the policies via:
libhal_device_is_caller_privileged(...). This function handle also all the
ConsoleKit/session handling. This was what we did for example in KPowersave.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Danny Kukawka <dkukawka@xxxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dkukawka@xxxxxxxxxx
--- Comment #32 from Danny Kukawka <dkukawka@xxxxxxxxxx> 2007-09-12 11:22:14 MST ---
(In reply to comment #28 from JP Rosevear)
> Fedora also has a newer policykit, they are explicitly turning off policy kit
> support --disable-policykit. The gpm support seems to be tied to the last
> official release i can find, 0.3.
>
> However it looks like all we really need to do is to link to libpolkit-grant
> and use the API there to query privileges.
It should be easier to use simply libhal to query the policies via:
libhal_device_is_caller_privileged(...). This function handle also all the
ConsoleKit/session handling. This was what we did for example in KPowersave.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |