From 0668a321dc46bf38315a5aa1bb4a89d61dfc9033 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Mon, 26 Dec 2005 14:40:43 +0000 Subject: [PATCH] forgot sth. this fixes it --- src/history_window.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/history_window.py b/src/history_window.py index 4f3e33a2b..578ddcf5d 100644 --- a/src/history_window.py +++ b/src/history_window.py @@ -338,7 +338,7 @@ class HistoryWindow: model = widget.get_model() iter = model.get_iter(path) # make it (Y, M, D, ...) - tim = time.strptime(model[iter][C_TIME], '%x') + tim = time.strptime(model[iter][C_TIME], '%c') year = tim[0] gtk_month = tim[1] month = gtkgui_helpers.make_python_month_gtk_month(gtk_month) @@ -349,3 +349,6 @@ class HistoryWindow: self.calendar.select_month(month, year) self.calendar.select_day(day) + + #FIXME: start_iter.forward_search(string, TEXT_SEARCH_VISIBLE_ONLY, None) + # on double click and scroll there and maybe even highlight it