summaryrefslogtreecommitdiff
path: root/src/text_buffer.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-05-17 17:28:53 +0200
committermathieui <mathieui@mathieui.net>2012-05-17 17:28:53 +0200
commitfb450a71386d39afe4059e84632b03f6a230109c (patch)
treeb4410c72ae2cde6250a2ec643be149e5fecd0075 /src/text_buffer.py
parent3411d8ca83591adf9a92b3c1c78fbd74a4612fe7 (diff)
downloadpoezio-fb450a71386d39afe4059e84632b03f6a230109c.tar.gz
poezio-fb450a71386d39afe4059e84632b03f6a230109c.tar.bz2
poezio-fb450a71386d39afe4059e84632b03f6a230109c.tar.xz
poezio-fb450a71386d39afe4059e84632b03f6a230109c.zip
Use a different theme variable for the /me message
Diffstat (limited to 'src/text_buffer.py')
-rw-r--r--src/text_buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text_buffer.py b/src/text_buffer.py
index 2d83ab7e..b615e96c 100644
--- a/src/text_buffer.py
+++ b/src/text_buffer.py
@@ -45,7 +45,7 @@ class TextBuffer(object):
else:
color = None
# TODO: display the bg color too.
- txt = ("\x19%(info_col)s}* \x19%(col)s}" % {'col':color or 5, 'info_col':get_theme().COLOR_INFORMATION_TEXT[0]})+ nickname + ' \x19%(info_col)s}' % {'info_col':get_theme().COLOR_INFORMATION_TEXT[0]} + txt[4:]
+ txt = '\x19%(info_col)s}* \x19%(col)s}%(nick)s \x19%(info_col)s}%(msg)s' % {'info_col':get_theme().COLOR_ME_MESSAGE[0], 'col': color or 5, 'nick': nickname, 'msg': txt[4:]}
nickname = None
msg = Message(txt='%s\x19o'%(txt.replace('\t', ' '),), nick_color=nick_color,
time=time, str_time=time.strftime("%Y-%m-%d %H:%M:%S")\