summaryrefslogtreecommitdiff
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
parent3711c258a815a6ca1dfd295c1bd1b626a9626b8a (diff)
downloadpoezio-1c4867b180bd059d09579fdb94c9812775da9a46.tar.gz
poezio-1c4867b180bd059d09579fdb94c9812775da9a46.tar.bz2
poezio-1c4867b180bd059d09579fdb94c9812775da9a46.tar.xz
poezio-1c4867b180bd059d09579fdb94c9812775da9a46.zip
Fix some refresh issues
-rw-r--r--src/core.py1
-rw-r--r--src/tabs.py3
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 4f2edb9a..d6dc4204 100644
--- a/src/core.py
+++ b/src/core.py
@@ -508,7 +508,6 @@ class Core(object):
logger.log_message(jid.full.replace('/', '\\'), nick_from, body)
if conversation is self.current_tab():
self.refresh_window()
- self.doupdate()
def focus_tab_named(self, tab_name):
for tab in self.tabs:
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)