Philipp Hörist pushed to branch master at gajim / gajim
Commits:
835bffd8 by Sophie Herold at 2018-08-06T17:07:42Z
Fix broken history search
- - - - -
1 changed file:
- gajim/gtk/history.py
Changes:
=====================================
gajim/gtk/history.py
=====================================
--- a/gajim/gtk/history.py
+++ b/gajim/gtk/history.py
@@ -709,8 +709,8 @@ class HistoryWindow:
# make it a tuple (Y, M, D, 0, 0, 0...)
tim = time.strptime(model[path][Column.UNIXTIME], '%Y-%m-%d')
year = tim[0]
- gtk_month = tim[1]
- month = gtk_month(gtk_month)
+ gtk_m = tim[1]
+ month = gtk_month(gtk_m)
day = tim[2]
# switch to belonging logfile if necessary
@@ -719,10 +719,10 @@ class HistoryWindow:
self._load_history(log_jid, None)
# avoid reruning mark days algo if same month and year!
- if year != cur_year or gtk_month != cur_month:
+ if year != cur_year or gtk_m != cur_month:
self.calendar.select_month(month, year)
- if year != cur_year or gtk_month != cur_month or day != cur_day:
+ if year != cur_year or gtk_m != cur_month or day != cur_day:
self.calendar.select_day(day)
self._scroll_to_message_and_highlight(model[path][Column.LOG_LINE_ID])
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/835bffd8932aecd4a170c16ec164c708a7ca396a
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/835bffd8932aecd4a170c16ec164c708a7ca396a
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits