summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-03-29 12:44:19 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-03-29 12:44:19 +0200
commitdcd29c636f01a8983d4cfdb20c66793e5d7cdef0 (patch)
treee111ae9ae640adb76313b947a61f113ed7e26e69 /src/core.py
parenta2abc116e52016ecf8d4268245dcdcd8dbb079a0 (diff)
downloadpoezio-dcd29c636f01a8983d4cfdb20c66793e5d7cdef0.tar.gz
poezio-dcd29c636f01a8983d4cfdb20c66793e5d7cdef0.tar.bz2
poezio-dcd29c636f01a8983d4cfdb20c66793e5d7cdef0.tar.xz
poezio-dcd29c636f01a8983d4cfdb20c66793e5d7cdef0.zip
Change how colors are handled. With \x19x etc
Should work like before and be a little lighter on the RA
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index e2b2fb1e..46e10793 100644
--- a/src/core.py
+++ b/src/core.py
@@ -887,7 +887,7 @@ class Core(object):
self.refresh_window()
self.doupdate()
- def add_message_to_text_buffer(self, room, txt, time=None, nickname=None, colorized=False):
+ def add_message_to_text_buffer(self, room, txt, time=None, nickname=None):
"""
Add the message to the room if possible, else, add it to the Info window
(in the Info tab of the info window in the RosterTab)
@@ -895,7 +895,7 @@ class Core(object):
if not room:
self.information('Error, trying to add a message in no room: %s' % txt)
else:
- room.add_message(txt, time, nickname, colorized)
+ room.add_message(txt, time, nickname)
self.refresh_window()
def command_help(self, arg):