summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-16 11:25:20 +0100
committermathieui <mathieui@mathieui.net>2011-11-16 11:25:20 +0100
commit24ba3b6ed9f2c6aac07056d5a8a481a7286772b8 (patch)
tree5349b302a84af150f29af3f85e2a48832a49094e /src/windows.py
parent75f7d710801388b2f62deb98968ff8d4d1f0d350 (diff)
downloadpoezio-24ba3b6ed9f2c6aac07056d5a8a481a7286772b8.tar.gz
poezio-24ba3b6ed9f2c6aac07056d5a8a481a7286772b8.tar.bz2
poezio-24ba3b6ed9f2c6aac07056d5a8a481a7286772b8.tar.xz
poezio-24ba3b6ed9f2c6aac07056d5a8a481a7286772b8.zip
Add CHAR_CHATSTATE_* to the available theme options
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/windows.py b/src/windows.py
index 2e2c0fd5..7601208c 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -233,11 +233,11 @@ class UserList(Win):
else:
show_col = self.color_show[user.show]()
if user.chatstate == 'composing':
- char = 'X'
+ char = get_theme().CHAR_CHATSTATE_COMPOSING
elif user.chatstate == 'active':
- char = 'A'
+ char = get_theme().CHAR_CHATSTATE_ACTIVE
elif user.chatstate == 'paused':
- char = 'p'
+ char = get_theme().CHAR_CHATSTATE_PAUSED
else:
char = get_theme().CHAR_STATUS
self.addstr(y, 0, char, to_curses_attr(show_col))