bug 9564; fix exception on Event filter editor (#377)
for 'Events occurring on a particular day of the week' filter
This commit is contained in:
parent
9dec0bc364
commit
db8b95cf2d
@ -580,7 +580,7 @@ class EditRule(ManagedWindow):
|
|||||||
elif v == _('Day of Week:'):
|
elif v == _('Day of Week:'):
|
||||||
long_days = displayer.long_days
|
long_days = displayer.long_days
|
||||||
days_of_week = long_days[2:] + long_days[1:2]
|
days_of_week = long_days[2:] + long_days[1:2]
|
||||||
t = MyList(map(str, range(7)), days_of_week)
|
t = MyList(list(map(str, range(7))), days_of_week)
|
||||||
else:
|
else:
|
||||||
t = MyEntry()
|
t = MyEntry()
|
||||||
t.set_hexpand(True)
|
t.set_hexpand(True)
|
||||||
|
Loading…
Reference in New Issue
Block a user