Only use logind listener on linux

This commit is contained in:
Philipp Hörist 2018-01-29 23:12:58 +01:00
parent 4f73b03d36
commit 6deedb1743
1 changed files with 1 additions and 2 deletions

View File

@ -2879,10 +2879,9 @@ class Interface:
self.remote_ctrl = None
from gajim import logind_listener
# Handle screensaver
if sys.platform == 'linux':
from gajim import logind_listener
from gajim import screensaver_listener
self.show_vcard_when_connect = []