summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-06 15:57:03 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-06 15:57:03 +0100
commit7bf63c51e2650042932ad78207ce5366bab3e38a (patch)
tree70019fb2215dad716f85d3070f78b5d2f80bba9e /src/tabs.py
parentbf9857b782586e4d17395a3feef0fd65aac428ee (diff)
downloadpoezio-7bf63c51e2650042932ad78207ce5366bab3e38a.tar.gz
poezio-7bf63c51e2650042932ad78207ce5366bab3e38a.tar.bz2
poezio-7bf63c51e2650042932ad78207ce5366bab3e38a.tar.xz
poezio-7bf63c51e2650042932ad78207ce5366bab3e38a.zip
Fix a remaining crash from the Room class deletion.
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tabs.py b/src/tabs.py
index b4d4ef44..1209038c 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -389,7 +389,7 @@ class ChatTab(Tab):
def move_separator(self):
self.text_win.remove_line_separator()
self.text_win.add_line_separator()
- self.text_win.refresh(self._text_buffer)
+ self.text_win.refresh()
self.input.refresh()
def command_say(self, line):
@@ -607,9 +607,8 @@ class MucTab(ChatTab):
/topic [new topic]
"""
if not arg.strip():
- self._text_buffer.add_message_to_text_buffer(self,
- _("The subject of the room is: %s") % self.topic)
- self.text_win.refresh(self._text_buffer)
+ self._text_buffer.add_message(_("The subject of the room is: %s") % self.topic)
+ self.text_win.refresh()
self.input.refresh()
return
subject = arg