summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-09-12 10:56:38 +0200
committermathieui <mathieui@mathieui.net>2011-09-12 10:56:38 +0200
commite372d2e8bc4da40835f841bb33972cd65bb66705 (patch)
tree2590f14e495fa6d30d9f85e8a81c456577095007
parent7a312992921debb1d904a0f2b7083272113e253e (diff)
downloadpoezio-e372d2e8bc4da40835f841bb33972cd65bb66705.tar.gz
poezio-e372d2e8bc4da40835f841bb33972cd65bb66705.tar.bz2
poezio-e372d2e8bc4da40835f841bb33972cd65bb66705.tar.xz
poezio-e372d2e8bc4da40835f841bb33972cd65bb66705.zip
Refresh properly the display after private part/join
-rw-r--r--src/tabs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 77b1610d..a6e871f0 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1126,6 +1126,7 @@ class PrivateTab(ChatTab):
self.get_room().add_message(_('\x191%(spec)s \x193%(nick)s\x195 has left the room (%(status)s)"') % {'nick':from_nick.replace('"', '\\"'), 'spec':theme.CHAR_QUIT, 'status': status_message.replace('"', '\\"')})
self.deactivate()
self.refresh()
+ self.core.doupdate()
def user_rejoined(self, nick):
"""
@@ -1134,6 +1135,7 @@ class PrivateTab(ChatTab):
self.get_room().add_message('\x194%(spec)s \x193%(nick)s\x195 joined the room' % {'nick':nick, 'spec':theme.CHAR_JOIN})
self.activate()
self.refresh()
+ self.core.doupdate()
def activate(self):
self.on = True