Bug#272054: libgtk2.0-0: Option GTK_CALENDAR_WEEK_START_MONDAY is ignored, despite documentation.

Eric Lavarde Eric Lavarde <bugs.debian.nospam@zorglub.s.bawue.de>, 272054@bugs.debian.org
Fri, 17 Sep 2004 09:10:08 +0200

Package: libgtk2.0-0
Version: 2.4.9-1
Severity: normal


as I filed report #265277 to jpilot, I got the following answer from the


> I have Monday defined as the first day of the week, but this isn't
> respected in the calendar view, though it is respected in the Week and Month
> view.

This is a "limitation" of GTK2. I tried to recompile the sample source
code from [1] and I get this error message when selecting "week start
  Gtk-WARNING **: GTK_CALENDAR_WEEK_START_MONDAY is ignored; the first
  day of the week is determined from the locale


Nevertheless the documentation at
http://www.gtk.org/tutorial/sec-calendar.html states that the option is
still valid with GTK2, so it looks like a bug to me. You can correct the
documentation, but I would prefer to get back the WEEK_START_MONDAY
option... :>


PS: I don't know if it's somehow related, but setting the LANG variable before
starting jpilot doesn't change anything to the "Monday" behavior, though
the calendar becomes French, German whatever.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-6deb1
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0               1.6.1-3        The ATK accessibility toolkit
ii  libc6                     2.3.2.ds1-16   GNU C Library: Shared libraries an
ii  libfontconfig1            2.2.3-1        generic font configuration library
ii  libfreetype6              2.1.7-2.2      FreeType 2 font engine, shared lib
ii  libglib2.0-0              2.4.6-2        The GLib library of C routines
ii  libgtk2.0-0               2.4.9-1        The GTK+ graphical user interface 
ii  libgtk2.0-bin             2.4.9-1        The programs for the GTK+ graphica
ii  libgtk2.0-common          2.4.9-1        Common files for the GTK+ graphica
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  libpango1.0-0             1.4.1-2        Layout and rendering of internatio
ii  libpng12-0            PNG library - runtime
ii  libtiff4                  3.6.1-1.1      Tag Image File Format library
ii  libx11-6                  4.3.0.dfsg.1-4 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  4.3.0.dfsg.1-4 X Window System miscellaneous exte
ii  libxft2                   2.1.2-6        FreeType-based font drawing librar
ii  libxi6                    4.3.0.dfsg.1-4 X Window System Input extension li
ii  libxrandr2                4.3.0.dfsg.1-4 X Window System Resize, Rotate and
ii  libxrender1               0.8.3-7        X Rendering Extension client libra
ii  xlibs                     4.3.0.dfsg.1-4 X Window System client libraries m
ii  zlib1g                    1:    compression library - runtime

-- no debconf information