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:
authorYann Leboulanger <asterix@lagaule.org>2004-03-24 04:39:14 +0300
committerYann Leboulanger <asterix@lagaule.org>2004-03-24 04:39:14 +0300
commit55b00d993a6706c31b9171e547c9d7ba3313ab39 (patch)
tree0bad917ee56e4db3e463590d7570d7b3fda0fa26
parent9f50a404c1ee183b08a55b108841d131137854cc (diff)
little bugfix : when we add an account, update self.connected in the Core
-rw-r--r--core/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/core.py b/core/core.py
index e71c8cd88..1c1433932 100644
--- a/core/core.py
+++ b/core/core.py
@@ -272,6 +272,8 @@ class GajimCore:
string.join(accts)
for a in accts:
self.cfgParser.tab[a] = ev[2][1][a]
+ if not a in self.connected.keys():
+ self.connected[a]= 0
else:
self.cfgParser.tab[ev[2][0]] = ev[2][1]
self.cfgParser.writeCfgFile()