Philipp Hörist pushed to branch master at gajim / gajim
Commits: a84f784b by lovetox at 2020-06-26T19:44:29+02:00 Client: Register screensaver handler on all platforms
This is no problem because the signal is not emited if the platform does not support it
Fixes #10152
- - - - -
1 changed file:
- gajim/common/client.py
Changes:
===================================== gajim/common/client.py ===================================== @@ -93,9 +93,8 @@ class Client(ConnectionHandlers): self._idle_handler_id = Monitor.connect('state-changed', self._idle_state_changed)
- if sys.platform not in ('win32', 'darwin'): - self._screensaver_handler_id = app.app.connect( - 'notify::screensaver-active', self._screensaver_state_changed) + self._screensaver_handler_id = app.app.connect( + 'notify::screensaver-active', self._screensaver_state_changed)
ConnectionHandlers.__init__(self)
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a84f784bf9af479fae27161603b7ef2c7...