From 40d445e509dd5643150869862d608562ff5a01c0 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 14 Jun 2011 22:20:04 +0200 Subject: I add a char to show the active and paused chatstates in muc user lists --- src/windows.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/windows.py b/src/windows.py index eb6dde43..1d54f7ed 100644 --- a/src/windows.py +++ b/src/windows.py @@ -196,6 +196,10 @@ class UserList(Win): show_col = self.color_show[user.show] if user.chatstate == 'composing': char = 'X' + elif user.chatstate == 'active': + char = 'A' + elif user.chatstate == 'paused': + char = 'p' else: char = theme.CHAR_STATUS self.addstr(y, 0, char, common.curses_color_pair(show_col)) -- cgit v1.2.3 From dd9186c72a04f449c427bce31d35a283f3c61c25 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Wed, 15 Jun 2011 23:33:29 +0200 Subject: Fix the refresh of the muc info header on new messae --- src/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core.py b/src/core.py index e096b65c..4aa1b2b3 100644 --- a/src/core.py +++ b/src/core.py @@ -971,6 +971,7 @@ class Core(object): self.add_message_to_text_buffer(room, body, date, nick_from) if tab is self.current_tab(): tab.text_win.refresh(tab._room) + tab.info_header.refresh(tab._room, tab.text_win) self.refresh_tab_win() def add_message_to_text_buffer(self, room, txt, time=None, nickname=None): -- cgit v1.2.3