From 115b2257a506f21f7e069fdbba49ac001292d79b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 18 Jun 2012 12:00:12 +0200 Subject: Stop logout timer after unlock --- Locker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Locker.py b/Locker.py index f8e97ce..fd2f5ed 100644 --- a/Locker.py +++ b/Locker.py @@ -54,6 +54,9 @@ class Locker(object): return True def _checkLogout(self): + if not self.locked: + return False + self.currentLogoutTimeout = self.currentLogoutTimeout - 1 if self.updateLogoutTimeout is not None: self.updateLogoutTimeout(self.currentLogoutTimeout) -- cgit v1.2.3