Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Hanquez <tab@snarc.org>2004-04-11 03:15:17 +0400
committerVincent Hanquez <tab@snarc.org>2004-04-11 03:15:17 +0400
commitc8f31d46c125678423bfe0d6cce29bfa6156304c (patch)
tree0d3f0dc05c00b5cca4ebfe25ddb8b0ba67bdcd0e /plugins
parent557cdec3ffcdb336871881555b05b569b0d1a2cc (diff)
pedantic elif
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtkgui/gtkgui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py
index 734929c11..f8a288d18 100644
--- a/plugins/gtkgui/gtkgui.py
+++ b/plugins/gtkgui/gtkgui.py
@@ -2099,11 +2099,11 @@ class plugin:
#we go online
self.roster.optionmenu.set_history(0)
self.send('STATUS', None, ('online', ''))
- if state == common.sleepy.STATE_AWAY and self.config['autoaway']:
+ elif state == common.sleepy.STATE_AWAY and self.config['autoaway']:
#we go away
self.roster.optionmenu.set_history(1)
self.send('STATUS', None, ('away', 'auto away (idle)'))
- if state == common.sleepy.STATE_XAWAY and self.config['autoxa']:
+ elif state == common.sleepy.STATE_XAWAY and self.config['autoxa']:
#we go extanded away
self.roster.optionmenu.set_history(2)
self.send('STATUS',('xa', 'auto away (idel)'))