small mistake

This commit is contained in:
Yann Leboulanger 2004-02-17 18:40:14 +00:00
parent 301e1cab25
commit 3adcd36e5f
2 changed files with 3 additions and 3 deletions

View File

@ -318,7 +318,7 @@ def start():
gc = GajimCore() gc = GajimCore()
loadPlugins(gc) loadPlugins(gc)
################ pr des tests ########### ################ pr des tests ###########
gc.hub.sendPlugin('NOTIFY', ('aste@lagaule.org', 'online', 'online', 'oleron')) # gc.hub.sendPlugin('NOTIFY', ('aste@lagaule.org', 'online', 'online', 'oleron'))
# gc.hub.sendPlugin('MSG', ('ate@lagaule.org', 'msg')) # gc.hub.sendPlugin('MSG', ('ate@lagaule.org', 'msg'))
######################################### #########################################
try: try:

View File

@ -546,7 +546,7 @@ class accounts_Window:
"""initialize listStore with existing accounts""" """initialize listStore with existing accounts"""
model = self.treeview.get_model() model = self.treeview.get_model()
model.clear() model.clear()
for account in self.r.plugin.accounts.keys(): for account in self.r.plugin.accounts.keys():
iter = model.append() iter = model.append()
model.set(iter, 0, account, 1, \ model.set(iter, 0, account, 1, \
self.r.plugin.accounts[account]["hostname"]) self.r.plugin.accounts[account]["hostname"])
@ -1316,7 +1316,7 @@ class plugin:
#Restore messages #Restore messages
while not temp_q.empty(): while not temp_q.empty():
ev2 = temp_q.get() ev2 = temp_q.get()
self.queueIN.put(ev) self.queueIN.put(ev2)
return ev[1][1] return ev[1][1]
else: else:
#Save messages #Save messages