sleep-monitor: add support for ConsoleKit2 inhibit
authorEric Koegel <eric.koegel@gmail.com>
Fri, 24 Jul 2015 16:47:29 +0000 (19:47 +0300)
committerThomas Haller <thaller@redhat.com>
Fri, 7 Aug 2015 09:45:57 +0000 (11:45 +0200)
commit0db81e10145a55e0e17af28baeba91e5167aac12
tree385548d25eaf18af01c220ebf1c0b7cfb2f13ed3
parent558117222fabd8244e3d01e281c6391967b273c3
sleep-monitor: add support for ConsoleKit2 inhibit

ConsoleKit2 has added the same suspend/resume DBUS API that Systemd
uses. This patch adds the code to use ConsoleKit2's inhibit API.
http://consolekit2.github.io/ConsoleKit2/#Manager.Inhibit

[thaller@redhat.com: modified original patch]

https://bugzilla.gnome.org/show_bug.cgi?id=752836
configure.ac
src/Makefile.am
src/nm-sleep-monitor-systemd.c