Bug#313539: libgtk2.0-0: Some more on GtkCalendar, perhaps found reason for bug.

Eric Lavarde Eric Lavarde <bugs.debian.nospam@zorglub.s.bawue.de>, 313539@bugs.debian.org
Mon Jul 4 16:30:51 UTC 2005


Package: libgtk2.0-0
Version: 2.6.4-3
Followup-For: Bug #313539


Hi,

I think I found the reason for the bug by having a look at the source
code.
Looking at gtk/gtkcalendar.c, I found out that the first day of the week
is not determined using the nl_langinfo function but using a translation
string (line 710):
	week_start = _("calendar:week_start:0");
(similar issue for "calendar:MY")

This is of course a damn wrong ugly hack, as it's dependent first on the
LANGUAGE variable, instead of LC_TIME, LC_ALL or LANG (and all English speaking
users need to have the week starting on Monday).

Could you please now fix this bug, or make it fix?

Thanks, Eric

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0              1.8.0-4         The ATK accessibility toolkit
ii  libc6                    2.3.2.ds1-22    GNU C Library: Shared libraries an
ii  libfontconfig1           2.3.1-2         generic font configuration library
ii  libfreetype6             2.1.7-2.4       FreeType 2 font engine, shared lib
ii  libglib2.0-0             2.6.4-1         The GLib library of C routines
ii  libgtk2.0-0              2.6.4-3         The GTK+ graphical user interface 
ii  libgtk2.0-bin            2.6.4-3         The programs for the GTK+ graphica
ii  libgtk2.0-common         2.6.4-3         Common files for the GTK+ graphica
ii  libjpeg62                6b-10           The Independent JPEG Group's JPEG 
ii  libpango1.0-0            1.8.1-1         Layout and rendering of internatio
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libtiff4                 3.7.2-3         Tag Image File Format (TIFF) libra
ii  libx11-6                 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxcursor1              1.1.3-1         X cursor management library
ii  libxext6                 4.3.0.dfsg.1-14 X Window System miscellaneous exte
ii  libxft2                  2.1.7-1         FreeType-based font drawing librar
ii  libxi6                   4.3.0.dfsg.1-14 X Window System Input extension li
ii  libxrandr2               4.3.0.dfsg.1-14 X Window System Resize, Rotate and
ii  libxrender1              0.8.3-7         X Rendering Extension client libra
ii  xlibs                    4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

-- no debconf information






More information about the Pkg-gnome-maintainers mailing list