summaryrefslogtreecommitdiff
path: root/src/text_buffer.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2012-12-07 23:38:28 +0100
committerFlorent Le Coz <louiz@louiz.org>2012-12-07 23:39:49 +0100
commite2592f5cdf3efe13d74f75eeadcd37d54b4d9d5c (patch)
tree5c6b462051daa30480ad5b0ba19d9c8a0ea02a76 /src/text_buffer.py
parent59be8bdd62bbbb9b57a209b005441206eb02f7cd (diff)
downloadpoezio-e2592f5cdf3efe13d74f75eeadcd37d54b4d9d5c.tar.gz
poezio-e2592f5cdf3efe13d74f75eeadcd37d54b4d9d5c.tar.bz2
poezio-e2592f5cdf3efe13d74f75eeadcd37d54b4d9d5c.tar.xz
poezio-e2592f5cdf3efe13d74f75eeadcd37d54b4d9d5c.zip
Add a new show_timestamps option to hide/show timestamps in text buffers.
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 8430a230..33942537 100644
--- a/src/text_buffer.py
+++ b/src/text_buffer.py
@@ -69,7 +69,7 @@ class TextBuffer(object):
ret_val = None
for window in self.windows: # make the associated windows
# build the lines from the new message
- nb = window.build_new_message(msg, history=history, highlight=highlight)
+ nb = window.build_new_message(msg, history=history, highlight=highlight, timestamp=config.get("show_timestamps", "true") != 'false')
if ret_val is None:
ret_val = nb
if window.pos != 0: