Calendar gramplet: add day names

The first day is define according on the LANG

Fixes #12515
This commit is contained in:
SNoiraud 2021-12-28 10:25:41 +01:00 committed by Nick Hall
parent e0d36df278
commit 3df33ec3e1

View File

@ -50,6 +50,7 @@ class CalendarGramplet(Gramplet):
self.gui.calendar.connect('day-selected-double-click',
self.double_click)
self.gui.calendar.set_display_options(
Gtk.CalendarDisplayOptions.SHOW_DAY_NAMES |
Gtk.CalendarDisplayOptions.SHOW_HEADING)
self.gui.get_container_widget().remove(self.gui.textview)
vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)