Philipp Hörist pushed to branch master at gajim / gajim
Commits:
-
835bffd8
by Sophie Herold at 2018-08-06T17:07:42Z
1 changed file:
Changes:
| ... | ... | @@ -709,8 +709,8 @@ class HistoryWindow: |
| 709 | 709 |
# make it a tuple (Y, M, D, 0, 0, 0...)
|
| 710 | 710 |
tim = time.strptime(model[path][Column.UNIXTIME], '%Y-%m-%d')
|
| 711 | 711 |
year = tim[0]
|
| 712 |
- gtk_month = tim[1]
|
|
| 713 |
- month = gtk_month(gtk_month)
|
|
| 712 |
+ gtk_m = tim[1]
|
|
| 713 |
+ month = gtk_month(gtk_m)
|
|
| 714 | 714 |
day = tim[2]
|
| 715 | 715 |
|
| 716 | 716 |
# switch to belonging logfile if necessary
|
| ... | ... | @@ -719,10 +719,10 @@ class HistoryWindow: |
| 719 | 719 |
self._load_history(log_jid, None)
|
| 720 | 720 |
|
| 721 | 721 |
# avoid reruning mark days algo if same month and year!
|
| 722 |
- if year != cur_year or gtk_month != cur_month:
|
|
| 722 |
+ if year != cur_year or gtk_m != cur_month:
|
|
| 723 | 723 |
self.calendar.select_month(month, year)
|
| 724 | 724 |
|
| 725 |
- if year != cur_year or gtk_month != cur_month or day != cur_day:
|
|
| 725 |
+ if year != cur_year or gtk_m != cur_month or day != cur_day:
|
|
| 726 | 726 |
self.calendar.select_day(day)
|
| 727 | 727 |
|
| 728 | 728 |
self._scroll_to_message_and_highlight(model[path][Column.LOG_LINE_ID])
|