From 3b2d28e6ee0ae8522d25f0d582d36f7693abbcb0 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Fri, 31 Dec 2010 10:52:15 +0000 Subject: remote nickname is colored in ConversationTab --- src/tabs.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/tabs.py') diff --git a/src/tabs.py b/src/tabs.py index 8016f86e..6170cb67 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -860,9 +860,10 @@ class RosterInfoTab(Tab): class ConversationTab(ChatTab): """ - The tab containg a normal conversation (someone from our roster) + The tab containg a normal conversation (not from a MUC) """ - def __init__(self, core, text_buffer, jid): + def __init__(self, core, jid): + text_buffer = windows.TextBuffer() ChatTab.__init__(self, core, text_buffer) self.color_state = theme.COLOR_TAB_NORMAL self._name = jid # a conversation tab is linked to one specific full jid OR bare jid @@ -890,9 +891,6 @@ class ConversationTab(ChatTab): self.core.add_message_to_text_buffer(self.get_room(), line, None, self.core.own_nick) def command_unquery(self, arg): - """ - /unquery - """ self.core.close_tab() def resize(self): -- cgit v1.2.3