Skip to content
Snippets Groups Projects
Commit ff87483b authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

correctly select result row in history window. Fixes #3939

parent a07bc4a3
No related branches found
No related tags found
No related merge requests found
......@@ -602,7 +602,9 @@ class HistoryWindow:
"""
start_iter = self.history_buffer.get_start_iter()
local_time = time.localtime(float(unix_time))
tim = time.strftime('%X', local_time)
timestamp_str = gajim.config.get('time_stamp')
timestamp_str = helpers.from_one_line(timestamp_str)
tim = time.strftime(timestamp_str, local_time)
result = start_iter.forward_search(tim, gtk.TEXT_SEARCH_VISIBLE_ONLY,
None)
if result is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment