From e2592f5cdf3efe13d74f75eeadcd37d54b4d9d5c Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Fri, 7 Dec 2012 23:38:28 +0100 Subject: Add a new show_timestamps option to hide/show timestamps in text buffers. --- src/text_buffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/text_buffer.py') 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: -- cgit v1.2.3