forgot sth. this fixes it
This commit is contained in:
parent
e0feb7e57d
commit
0668a321dc
|
@ -338,7 +338,7 @@ class HistoryWindow:
|
||||||
model = widget.get_model()
|
model = widget.get_model()
|
||||||
iter = model.get_iter(path)
|
iter = model.get_iter(path)
|
||||||
# make it (Y, M, D, ...)
|
# make it (Y, M, D, ...)
|
||||||
tim = time.strptime(model[iter][C_TIME], '%x')
|
tim = time.strptime(model[iter][C_TIME], '%c')
|
||||||
year = tim[0]
|
year = tim[0]
|
||||||
gtk_month = tim[1]
|
gtk_month = tim[1]
|
||||||
month = gtkgui_helpers.make_python_month_gtk_month(gtk_month)
|
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_month(month, year)
|
||||||
|
|
||||||
self.calendar.select_day(day)
|
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
|
||||||
|
|
Loading…
Reference in New Issue