Show week numbers on calendar popup

issue10256
review359471002
This commit is contained in:
Cédric Krier committed 2021-04-11 18:23:42 +02:00
1 parent 5c3d4fdae3
commit 727e194a64
1 file changed
+2 -1
+2 -1
View File
@@ -84,7 +84,8 @@ class Date(Gtk.Entry):
self.__calendar = Gtk.Calendar()
cal_options = (
Gtk.CalendarDisplayOptions.SHOW_DAY_NAMES
| Gtk.CalendarDisplayOptions.SHOW_HEADING)
| Gtk.CalendarDisplayOptions.SHOW_HEADING
| Gtk.CalendarDisplayOptions.SHOW_WEEK_NUMBERS)
self.__calendar.set_display_options(cal_options)
self.__cal_popup.add(self.__calendar)
self.__calendar.connect('day-selected', self.cal_popup_changed)