diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-12-31 10:52:15 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-12-31 10:52:15 +0000 |
commit | 3b2d28e6ee0ae8522d25f0d582d36f7693abbcb0 (patch) | |
tree | 9bf57a5546ab39a62db8e71958cee42ea1859020 /src/tabs.py | |
parent | 9f4474be20ec73e9722da1d7f66c1c3dd3f52c22 (diff) | |
download | poezio-3b2d28e6ee0ae8522d25f0d582d36f7693abbcb0.tar.gz poezio-3b2d28e6ee0ae8522d25f0d582d36f7693abbcb0.tar.bz2 poezio-3b2d28e6ee0ae8522d25f0d582d36f7693abbcb0.tar.xz poezio-3b2d28e6ee0ae8522d25f0d582d36f7693abbcb0.zip |
remote nickname is colored in ConversationTab
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 8 |
1 files changed, 3 insertions, 5 deletions
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): |