diff options
author | Florent Le Coz <louiz@louiz.org> | 2012-12-07 23:38:28 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2012-12-07 23:39:49 +0100 |
commit | e2592f5cdf3efe13d74f75eeadcd37d54b4d9d5c (patch) | |
tree | 5c6b462051daa30480ad5b0ba19d9c8a0ea02a76 /src/text_buffer.py | |
parent | 59be8bdd62bbbb9b57a209b005441206eb02f7cd (diff) | |
download | poezio-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.py | 2 |
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: |