summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-15 19:07:57 +0100
committermathieui <mathieui@mathieui.net>2011-11-15 19:07:57 +0100
commit68aa832a4942cf274d639e2b8d6b15cd2ef585cc (patch)
treedbc5587c6bcbd5eb1d0b7d529ef59ab83a543a63
parent0fe7061eb58525ef8643494c3a025e9e1802e75d (diff)
downloadpoezio-68aa832a4942cf274d639e2b8d6b15cd2ef585cc.tar.gz
poezio-68aa832a4942cf274d639e2b8d6b15cd2ef585cc.tar.bz2
poezio-68aa832a4942cf274d639e2b8d6b15cd2ef585cc.tar.xz
poezio-68aa832a4942cf274d639e2b8d6b15cd2ef585cc.zip
Use Theme.CHAR_STATUS whenever it is possible
Fixes #2293
-rw-r--r--src/windows.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/windows.py b/src/windows.py
index bbae1ab7..3e283320 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -426,7 +426,7 @@ class ConversationInfoWin(InfoWin):
presence = resource.presence
color = RosterWin.color_show[presence]()
self.addstr('[', to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
- self.addstr(" ", to_curses_attr(color))
+ self.addstr(get_theme().CHAR_STATUS, to_curses_attr(color))
self.addstr(']', to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
def write_contact_informations(self, contact):
@@ -1494,7 +1494,7 @@ class RosterWin(Win):
else:
display_name = '%s%s' % (contact.bare_jid, nb,)
self.addstr(y, 0, ' ')
- self.addstr(" ", to_curses_attr(color))
+ self.addstr(get_theme().CHAR_STATUS, to_curses_attr(color))
if resource:
self.addstr(' [+]' if contact._folded else ' [-]')
self.addstr(' ')
@@ -1511,7 +1511,7 @@ class RosterWin(Win):
Draw a specific resource line
"""
color = RosterWin.color_show[resource.presence]()
- self.addstr(y, 4, " ", to_curses_attr(color))
+ self.addstr(y, 4, get_theme().CHAR_STATUS, to_curses_attr(color))
if colored:
self.addstr(y, 6, resource.jid.full, to_curses_attr(get_theme().COLOR_SELECTED_ROW))
else: