diff --git a/core/core.py b/core/core.py index 45db2c5db..ce1bc8b38 100644 --- a/core/core.py +++ b/core/core.py @@ -318,7 +318,7 @@ def start(): gc = GajimCore() loadPlugins(gc) ################ 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')) ######################################### try: diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index f1f100af9..dccfbdaad 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -546,7 +546,7 @@ class accounts_Window: """initialize listStore with existing accounts""" model = self.treeview.get_model() model.clear() - for account in self.r.plugin.accounts.keys(): + for account in self.r.plugin.accounts.keys(): iter = model.append() model.set(iter, 0, account, 1, \ self.r.plugin.accounts[account]["hostname"]) @@ -1316,7 +1316,7 @@ class plugin: #Restore messages while not temp_q.empty(): ev2 = temp_q.get() - self.queueIN.put(ev) + self.queueIN.put(ev2) return ev[1][1] else: #Save messages