[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#147051: marked as done (libglade0: i18n: CList titles not properly handled )

Your message dated Thu, 24 Apr 2008 13:46:24 -0500
with message-id <200804241346.25331.atomo64@gmail.com>
and subject line libglade has been removed from Debian, closing #147051
has caused the Debian Bug report #147051,
regarding libglade0: i18n: CList titles not properly handled 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

147051: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=147051
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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,
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 ---
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 ---

Reply to: