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 160586 - meld 0.9.4.1 wont display buttons when using libglade 2.4.1
meld 0.9.4.1 wont display buttons when using libglade 2.4.1
Status: VERIFIED FIXED
Product: meld
Classification: Other
Component: general
0.9.x
Other Linux
: Normal normal
: ---
Assigned To: Stephen Kennedy
Stephen Kennedy
Depends on:
Blocks:
 
 
Reported: 2004-12-06 13:45 UTC by Stephane Loeuillet
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stephane Loeuillet 2004-12-06 13:45:40 UTC
/usr/lib/meld/gnomeglade.py:46: GtkWarning: file gtklabel.c: line 2792
(gtk_label_set_use_underline): assertion `GTK_IS_LABEL (label)' failed
  self.xml = gtk.glade.XML(file, root, gettext.textdomain() )
/usr/lib/meld/gnomeglade.py:46: GtkWarning: gtkwidget.c:3076: widget
`GtkToolButton' has no activatable signal "clicked" without arguments
  self.xml = gtk.glade.XML(file, root, gettext.textdomain() )

(meld:15124): GLib-GObject-WARNING **: gsignal.c:1657: signal `pressed' is
invalid for instance `0x8271d58'
Comment 1 Stephen Kennedy 2004-12-10 13:38:28 UTC
I'd suggest this is a bug in libglade as it works for me with libglade2.4.0
Comment 2 Stephane Loeuillet 2004-12-10 19:49:55 UTC
it was working for me too when i was using libglade 2.4.0

could this be because 2.4.1 is more strict ?

adding libglade people to Cc

perhaps a dupe of :
http://bugzilla.gnome.org/show_bug.cgi?id=160967

got libglade 2.4.1, gtk+ 2.4.13
Comment 3 James Henstridge 2004-12-11 11:26:29 UTC
libglade-2.4.1 is building toolbars using the new GtkToolbar API.  Meld is then
adding some buttons to the toolbar with the old API (append_element).  If you
use the new toolbar APIs, things should work fine.

You might need to open/save your project in a new version of glade to upgrade
the toolbars to use GtkToolButtons.
Comment 4 Stephen Kennedy 2004-12-14 12:02:42 UTC
Won't resaving make the glade file unusable with anything but libglade-2.4.x?

Unfortunately thats not really a solution. Meld (0.9 stable branch) uses the old
api because it works almost any version of pygtk. Back to pygtk-2.0 afaik.


Comment 5 Stephen Kennedy 2005-01-05 15:01:15 UTC
It could be an option to ship two versions of the glade files and
choose which to load, depending on gtk version (assuming gtk version
matches glade version)

James, is there a programmatic way to update the glade files without
having to manually load/save each one?
Comment 6 Stephen Kennedy 2005-01-11 20:18:49 UTC
I've added a command line switch to glade to update its project bug 163716.

Also there doesn't seem to be a workaround for the 2.4.0->2.4.1 change so
I'm just going to bite the bullet and require 2.4.1 for the next release.
I've udpated cvs branch-0_9.
Comment 7 Stephen Kennedy 2006-11-19 11:05:29 UTC
Batch close of old bugs.