Gary Jaffe wrote:
I would like a calendar with the weeks starting with Sunday. I made the following calendar, but the weeks start on Monday.self.clndr = gtk.Calendar() self.clndr.set_display_options( gtk.CALENDAR_SHOW_HEADING | gtk.CALENDAR_SHOW_DAY_NAMES | (~gtk.CALENDAR_NO_MONTH_CHANGE & ~gtk.CALENDAR_SHOW_WEEK_NUMBERS & ~gtk.CALENDAR_WEEK_START_MONDAY)) This worked properly (weeks starting on Sunday) when I was using pygtk-2.0.0 with gtk-2.2.4. But with pygtk-2.8.6 and gtk-2.8.1 the week starts on Monday.
Matthias Clasen told me that calendar_week_start is ignored since 2.4. However, in 2.8 it should be enough to just set the LC_TIME variable, (or LC_ALL) to the locale you wish to use. Johan _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
