diff --git a/src/chat_control.py b/src/chat_control.py index f33e07cb5..e054fe820 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -12,7 +12,7 @@ ## GNU General Public License for more details. ## -import os, os.path +import os import math import time import gtk diff --git a/src/roster_window.py b/src/roster_window.py index da97413b7..937c5e4ac 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -1687,7 +1687,10 @@ _('If "%s" accepts this request you will know his or her status.') % jid) mw = gajim.interface.msg_win_mgr.create_window(contact, account, type) if not private_chat: + print mw.window.get_property('visible') + print mw.window chat_control = ChatControl(mw, contact, account) + print 'after contstruct' else: chat_control = PrivateChatControl(mw, contact, account)