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 475213 - libglade doesn't add child widgets to statusbar
libglade doesn't add child widgets to statusbar
Status: RESOLVED WONTFIX
Product: libglade
Classification: Deprecated
Component: gtk
2.6.x
Other Linux
: Normal trivial
: ---
Assigned To: James Henstridge
James Henstridge
Depends on:
Blocks:
 
 
Reported: 2007-09-09 19:17 UTC by Thomas Rydzynski
Modified: 2011-07-19 23:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Thomas Rydzynski 2007-09-09 19:17:17 UTC
Glade3 supports adding child widgets to Statusbar (which is nothing special, as it is just a HBox with some Frame and Label). Libglade, however, does not show/create these child widgets from XML.

The fix so simple I don't event bother to create a patch. ;)

I have edited libglade-2.6.1/glade/glade-gtk.c:1318

2.6.1 version:
    glade_register_widget (GTK_TYPE_STATUSBAR, glade_standard_build_widget,
			   NULL, NULL);

Fixed version:
    glade_register_widget (GTK_TYPE_STATUSBAR, glade_standard_build_widget,
			   glade_standard_build_children, NULL);

And it works to me.

Happy coding!
Comment 1 Fabio Durán Verdugo 2011-07-19 23:07:31 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