changeset 6165d2c2eadf in /home/hg/repos/gajim
details:http://hg.gajim.org/gajim?cmd=changeset;node=6165d2c2eadf description: correctly select result row in history window. Fixes #3939
diffstat:
src/history_window.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r 18d3ba8b8fe1 -r 6165d2c2eadf src/history_window.py --- a/src/history_window.py Wed Apr 18 10:33:42 2012 +0200 +++ b/src/history_window.py Wed Apr 18 10:36:39 2012 +0200 @@ -596,7 +596,9 @@ """ 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: