From 1c4867b180bd059d09579fdb94c9812775da9a46 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Sat, 16 Apr 2011 22:03:11 +0200 Subject: Fix some refresh issues --- src/core.py | 1 - src/tabs.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.3