From 6deedb1743fa78604cfbaf67a179f9ce917299a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 29 Jan 2018 23:12:58 +0100 Subject: [PATCH] Only use logind listener on linux --- gajim/gui_interface.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gajim/gui_interface.py b/gajim/gui_interface.py index 3736fb4c4..69eaf945e 100644 --- a/gajim/gui_interface.py +++ b/gajim/gui_interface.py @@ -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 = []