Only use logind listener on linux
This commit is contained in:
parent
4f73b03d36
commit
6deedb1743
|
@ -2879,10 +2879,9 @@ class Interface:
|
||||||
|
|
||||||
self.remote_ctrl = None
|
self.remote_ctrl = None
|
||||||
|
|
||||||
from gajim import logind_listener
|
|
||||||
|
|
||||||
# Handle screensaver
|
# Handle screensaver
|
||||||
if sys.platform == 'linux':
|
if sys.platform == 'linux':
|
||||||
|
from gajim import logind_listener
|
||||||
from gajim import screensaver_listener
|
from gajim import screensaver_listener
|
||||||
|
|
||||||
self.show_vcard_when_connect = []
|
self.show_vcard_when_connect = []
|
||||||
|
|
Loading…
Reference in New Issue