From a89be870a7b6e214a6a5cff24720c0d8baa0e827 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 11 Jan 2006 07:07:45 +0000 Subject: [PATCH] fix indentation (no space in indentation) --- src/groupchat_control.py | 8 ++++---- src/systray.py | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index e65606eb8..7cce60ff3 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1503,11 +1503,11 @@ class GroupchatControl(ChatControlBase): def on_info(self, widget, nick): '''Call vcard_information_window class to display user's information''' c = gajim.contacts.get_gc_contact(self.account, self.room_jid, nick) - c2 = gajim.contacts.contact_from_gc_contact(c) - if gajim.interface.instances[self.account]['infos'].has_key(c2.jid): - gajim.interface.instances[self.account]['infos'][c2.jid].window.present() + c2 = gajim.contacts.contact_from_gc_contact(c) + if gajim.interface.instances[self.account]['infos'].has_key(c2.jid): + gajim.interface.instances[self.account]['infos'][c2.jid].window.present() else: - gajim.interface.instances[self.account]['infos'][c2.jid] = \ + gajim.interface.instances[self.account]['infos'][c2.jid] = \ vcard.VcardWindow(c2, self.account, False) def on_history(self, widget, ck): diff --git a/src/systray.py b/src/systray.py index 92f2393c3..32d9e269a 100644 --- a/src/systray.py +++ b/src/systray.py @@ -102,12 +102,12 @@ class Systray: def start_chat(self, widget, account, jid): contact = gajim.contacts.get_first_contact_from_jid(account, jid) if gajim.interface.msg_win_mgr.has_window(jid): - gajim.interface.msg_win_mgr.get_window(jid).set_active_tab(jid) - gajim.interface.msg_win_mgr.get_window(jid).present() + gajim.interface.msg_win_mgr.get_window(jid).set_active_tab(jid) + gajim.interface.msg_win_mgr.get_window(jid).present() elif contact: gajim.interface.roster.new_chat(gajim.contacts[account][jid][0], account) - gajim.interface.msg_win_mgr.get_window(jid).set_active_tab(jid) + gajim.interface.msg_win_mgr.get_window(jid).set_active_tab(jid) def on_new_message_menuitem_activate(self, widget, account): """When new message menuitem is activated: