Philipp Hörist pushed to branch master at gajim / gajim
Commits: 53f6e762 by Philipp Hörist at 2023-05-15T21:05:35+02:00 fix: Idle: Use default xa implemantation for XSS backend
Fixes #11522
- - - - - 25500014 by Philipp Hörist at 2023-05-15T21:09:19+02:00 refactor: Idle: Remove unnecessary method override
The base class has the same implementation
- - - - -
1 changed file:
- gajim/common/idle.py
Changes:
===================================== gajim/common/idle.py ===================================== @@ -99,9 +99,6 @@ def get_idle_sec(self) -> int:
return self.last_idle_time
- def is_extended_away(self) -> bool: - return self._extended_away -
class DBusGnome(IdleMonitor):
@@ -212,9 +209,6 @@ def get_idle_sec(self) -> int: return info return self.xss_info_p.contents.idle // 1000
- def set_extended_away(self, state: bool) -> None: - raise NotImplementedError -
class Windows(IdleMonitor): def __init__(self) -> None:
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/49156380316ade2a9043d5904adfbdbe...