After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 160967 - Regression in stock icons handling in libglade 2.4.1
Regression in stock icons handling in libglade 2.4.1
Status: RESOLVED WONTFIX
Product: libglade
Classification: Deprecated
Component: gtk
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: James Henstridge
James Henstridge
Depends on:
Blocks:
 
 
Reported: 2004-12-10 18:04 UTC by Frederic Crozat
Modified: 2011-07-19 23:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
stock icon test case (only second button renders correctly) (1.97 KB, text/plain)
2004-12-10 18:05 UTC, Frederic Crozat
  Details
stock menu item label patch (742 bytes, patch)
2005-02-24 23:24 UTC, Matthew Hall
none Details | Review

Description Frederic Crozat 2004-12-10 18:04:18 UTC
The attached example is displaying fine with libglade 2.4.0.

It doesn't with 2.4.1 (first button isn't displayed at all) and output a warning :

(lt-test-libglade:30050): Gtk-CRITICAL **: file gtklabel.c: line 2792
(gtk_label_set_use_underline): assertion `GTK_IS_LABEL (label)' failed

This is with gtk+ 2.4.14
Comment 1 Frederic Crozat 2004-12-10 18:05:29 UTC
Created attachment 34706 [details]
stock icon test case (only second button renders correctly)
Comment 2 Stephane Loeuillet 2004-12-10 19:49:43 UTC
see bug #160586, perhaps a dupe of this one
Comment 3 James Henstridge 2005-02-12 01:20:18 UTC
Could you check if libglade-2.4.2 or 2.5.1 fix this issue?  They revert the
handling of old-style toolbars.
Comment 4 Frederic Crozat 2005-02-14 15:38:37 UTC
unfortunately, it still doesn't fix the issue (even if it fixes bug #160586).
Testcase is still failing.

Comment 5 Matthew Hall 2005-02-24 23:24:55 UTC
Created attachment 37920 [details] [review]
stock menu item label patch

I've seen this behaviour aswell (in system-config-network from FC3). The stock
menu items (new, copy, delete) didn't contain a label.
The attached patch reverts the behaviour on displaying stock icons back to
libglade 2.4.0 which fixes this.
Comment 6 Fabio Durán Verdugo 2010-12-13 02:44:38 UTC
any news for this patch?
Comment 7 Fabio Durán Verdugo 2011-07-19 23:00:59 UTC
The GNOME Release team has officially deprecated libglade in favor of GtkBuilder[1]. So it's unlikely to get further development. I am closing bugs as WONTFIX. Please feel free to reopen the bugs in future if anyone takes the responsibility for active development.

[1] http://permalink.gmane.org/gmane.comp.gnome.devel.announce/28