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>2011-07-20 02:08:13 +0400
committerYann Leboulanger <asterix@lagaule.org>2011-07-20 02:08:13 +0400
commit38743188eadc4efd1c55c91c58855e0372d96b28 (patch)
tree983e3d1b3477fa0ccd20ad4456818a0b4267b772
parenta1e9a8d3a3f36aba70da03a50877d8c39cc5ad11 (diff)
cleanup gc_control.error_dialog attribute when we close the error dialog. See #6925
-rw-r--r--src/gui_interface.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui_interface.py b/src/gui_interface.py
index 234190760..dd5102aa5 100644
--- a/src/gui_interface.py
+++ b/src/gui_interface.py
@@ -1122,6 +1122,7 @@ class Interface:
def on_ok(text):
gajim.connections[account].join_gc(nick, room_jid, text)
gajim.gc_passwords[room_jid] = text
+ gc_control.error_dialog = None
def on_cancel():
# get and destroy window
@@ -1131,6 +1132,7 @@ class Interface:
win = self.msg_win_mgr.get_window(room_jid, account)
ctrl = self.msg_win_mgr.get_gc_control(room_jid, account)
win.remove_tab(ctrl, 3)
+ gc_control.error_dialog = None
gc_control = self.msg_win_mgr.get_gc_control(room_jid, account)
if gc_control: