summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/tabs/confirmtab.py2
-rw-r--r--poezio/tabs/privatetab.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/poezio/tabs/confirmtab.py b/poezio/tabs/confirmtab.py
index 89d0daf5..d7488de7 100644
--- a/poezio/tabs/confirmtab.py
+++ b/poezio/tabs/confirmtab.py
@@ -34,7 +34,7 @@ class ConfirmTab(Tab):
"""
Tab.__init__(self, core)
self.state = 'highlight'
- self.name = name
+ self._name = name
self.default_help_message = windows.HelpText(
"Choose with arrow keys and press enter")
self.input = self.default_help_message
diff --git a/poezio/tabs/privatetab.py b/poezio/tabs/privatetab.py
index b07c7b65..6a79b055 100644
--- a/poezio/tabs/privatetab.py
+++ b/poezio/tabs/privatetab.py
@@ -314,7 +314,7 @@ class PrivateTab(OneToOneTab):
),
)
new_jid = self.jid.bare + '/' + user.nick
- self.name = new_jid
+ self._name = new_jid
return self.core.tabs.current_tab is self
@refresh_wrapper.conditional