Commit Graph

4 Commits

Author SHA1 Message Date
Matthew W. S. Bell 698ae2a31e Obtain sleep inhibitor again after every sleep
- There is a PrepareForSleep signal before and after every sleep event.
The expectation is that before sleep, gajim cleans up and then releases
the sleep inhibitor. Accordingly, we must reacquire the inhibitor after
sleeping, which can helpfully be done with the other signal.

- Moved module to the dbus folder

- Embed logic in a LogindListener object so we can import the module
without listening to dbus
2018-10-26 17:17:57 +02:00
Philipp Hörist 7bb4d07d2e Fix import 2018-10-26 17:17:57 +02:00
Philipp Hörist bc97f6a941 Guard GeoClue import
- So we dont have to check on module import if GeoClue is installed
2018-10-26 17:17:57 +02:00
Philipp Hörist cfd24b6d6c Move dbus modules into own folder
- light refactor of the screensaver module
2018-10-26 17:17:57 +02:00