--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libglade0: i18n: CList titles not properly handled
- From: eichin@thok.org (Mark W. Eichin)
- Date: Wed, 15 May 2002 02:10:10 -0400 (EDT)
- Message-id: <20020515061010.F339B13DD1@kuroneko>
Package: libglade0
Version: 1:0.17-2.2
Severity: normal
I'm actually seeing this problem from a call to new
Gtk::GladeXML($filename) in perl, but I finally hunted it down by
source code inspection.
In libglade-0.17/glade/glade-gtk.c, label_new, a label is set with:
if (!strcmp(attr->name, "label")) {
string = attr->value;
if (string){
char *s = string [0] ? _(string) : "";
ie. the gettext processing is performed on the string if it has a
value. And, in fact, <class>GtkLabel</class> objects work fine.
In the same file, though, clist_build_children does:
label = attr->value;
if (label) {
gtk_clist_set_column_title (GTK_CLIST(w), col,
label);
ie. the column title is set directly.
I've tested the obvious fix:
--- libglade-0.17.orig/glade/glade-gtk.c
+++ libglade-0.17/glade/glade-gtk.c
@@ -289,7 +289,7 @@
}
if (label) {
gtk_clist_set_column_title (GTK_CLIST(w), col,
- label);
+ _(label));
/* get the GtkLabel, which is a child
* of the alignment widget used as
* title. */
and it does appear to work.
_Mark_ <eichin@thok.org>
The Herd of Kittens
Debian Package Maintainer
-- System Information
Debian Release: 3.0
Kernel Version: Linux kuroneko.thok.org 2.4.18 #2 Thu Feb 28 18:28:34 EST 2002 i686 unknown
Versions of the packages libglade0 depends on:
ii libc6 2.2.5-6 GNU C Library: Shared libraries and Timezone
ii libglib1.2 1.2.10-4 The GLib library of C routines
ii libgtk1.2 1.2.10-11 The GIMP Toolkit set of widgets for X
ii libxml1 1.8.17-2 GNOME XML library
ii xlibs 4.1.0-16 X Window System client libraries
ii zlib1g 1.1.4-1 compression library - runtime
--- End Message ---
--- Begin Message ---
- To: 147051-done@bugs.debian.org
- Subject: libglade has been removed from Debian, closing #147051
- From: Raphael Geissert <atomo64@gmail.com>
- Date: Thu, 24 Apr 2008 13:46:24 -0500
- Message-id: <200804241346.25331.atomo64@gmail.com>
Version: 1:0.17-8+rm
The libglade package has been removed from Debian testing, unstable and
experimental, so I am now closing the remaining open bugs.
For more information about this package's removal, read
http://bugs.debian.org/460787 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
Kind regards,
--
Raphael Geissert
--- End Message ---