summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-04-16 22:03:11 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-04-16 22:03:11 +0200
commit1c4867b180bd059d09579fdb94c9812775da9a46 (patch)
tree9b4fd07ac9d34bddd2b4eb3b923738a5482c4dbd /src/tabs.py
parent3711c258a815a6ca1dfd295c1bd1b626a9626b8a (diff)
downloadpoezio-1c4867b180bd059d09579fdb94c9812775da9a46.tar.gz
poezio-1c4867b180bd059d09579fdb94c9812775da9a46.tar.bz2
poezio-1c4867b180bd059d09579fdb94c9812775da9a46.tar.xz
poezio-1c4867b180bd059d09579fdb94c9812775da9a46.zip
Fix some refresh issues
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index d71ec75a..d529868d 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -816,9 +816,9 @@ class MucTab(ChatTab):
else:
self.on_user_change_status(room, user, from_nick, from_room, affiliation, role, show, status)
if self.core.current_tab() is self:
- self.text_win.refresh(self._room)
self.user_win.refresh(self._room.users)
self.info_header.refresh(self._room, self.text_win)
+ self.input.refresh()
self.core.doupdate()
def on_user_join(self, room, from_nick, affiliation, show, status, role, jid):
@@ -949,6 +949,7 @@ class MucTab(ChatTab):
status != user.status):
# display the message in the room
room.add_message(msg)
+ self.text_win.refresh(self._room)
self.core.on_user_changed_status_in_private('%s/%s' % (from_room, from_nick), msg)
# finally, effectively change the user status
user.update(affiliation, show, status, role)