summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-04-02 17:09:11 +0200
committermathieui <mathieui@mathieui.net>2012-04-02 17:09:11 +0200
commit4cf1acd9e4dce57cfeff246c7456a2eb1b818258 (patch)
treeb631c78560cf032bb41abf9ff395f03bdd4bf446 /src/tabs.py
parenta6187895c7f0d2931335b59ca9dbc46b714aeff4 (diff)
downloadpoezio-4cf1acd9e4dce57cfeff246c7456a2eb1b818258.tar.gz
poezio-4cf1acd9e4dce57cfeff246c7456a2eb1b818258.tar.bz2
poezio-4cf1acd9e4dce57cfeff246c7456a2eb1b818258.tar.xz
poezio-4cf1acd9e4dce57cfeff246c7456a2eb1b818258.zip
Fixes #2349
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tabs.py b/src/tabs.py
index c92d350c..9a8f3794 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -2216,7 +2216,7 @@ class ConversationTab(ChatTab):
def __init__(self, jid):
ChatTab.__init__(self)
self.state = 'normal'
- self._name = jid # a conversation tab is linked to one specific full jid OR bare jid
+ self.name = jid # a conversation tab is linked to one specific full jid OR bare jid
self.text_win = windows.TextWin()
self._text_buffer.add_window(self.text_win)
self.upper_bar = windows.ConversationStatusMessageWin()
@@ -2326,7 +2326,7 @@ class ConversationTab(ChatTab):
self.core.information(version, 'Info')
if arg:
return self.core.command_version(arg)
- jid = self._name
+ jid = self.name
self.core.xmpp.plugin['xep_0092'].get_version(jid, callback=callback)
def resize(self):
@@ -2355,7 +2355,7 @@ class ConversationTab(ChatTab):
self.input.refresh()
def get_name(self):
- return self._name
+ return self.name
def on_input(self, key, raw):
if not raw and key in self.key_func: