From bdac12d789a5424956675e8497aa3dbc50792a54 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 10 Apr 2008 14:47:12 +0000 Subject: [PATCH] don't go autoaway when screensaver is activated is user disabled the autoaway option. Fixes #3824 --- src/gajim.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gajim.py b/src/gajim.py index eb635911d..312acde15 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -2930,6 +2930,9 @@ class Interface: def gnome_screensaver_ActiveChanged_cb(active): if not active: return + if not gajim.config.get('autoaway'): + # Don't go auto away if user disabled the option + return for account in gajim.connections: if not gajim.sleeper_state.has_key(account) or \ not gajim.sleeper_state[account]: