GNOME Bugzilla – Bug 155738
Unable to load FileChooserDialog from glade file
Last modified: 2011-01-16 23:33:39 UTC
Use glade 2.6 to create a fileChooserDialog (I am using glade2-2.6.2-1.1.fc2.nr). Load the glade file using libglademm refXml = Gnome::Glade::Xml::create(glade_filename.c_str()); I get the error: libglade-WARNING **: could not find a parent that handles internal children for `vbox' The dialog does pop up, but the "cancel" and "save" buttons are missing.
Created attachment 32732 [details] The glade file that fails The glade file that fails to load
Created attachment 32733 [details] The gladep glade file that fails The gladep file for the glade file that fails to load
Created attachment 32734 [details] A test program that loads the glade file and demonstrates the error A test program that loads the glade file and demonstrates the error
Created attachment 32735 [details] bash shell script to compile the test program Bash shell script to compile the test program
Created attachment 32736 [details] log file from my building the test program on my computer Log file from my building the test program on my computer
Created attachment 32737 [details] List of all RPMS installed on my computer List of the rpms installed on my computer. I suspected this was a version mismatch problem and have tried to upgrade everything relevent to the latest files I could find. The base installation is Fedora Core 2, with all updates applied. I tried upgrading the gnome development stuff to 2.8, but that did not help. I am stumped.
Created attachment 33151 [details] test_libglademm.cc (test case without GnomeProgram)
This is a libglademm bug, because when I use GladeXML* cXml = glade_xml_new("matcon.glade", 0, 0); instead of refXml = Gnome::Glade::Xml::create("matcon.glade"); I don't see the warning.
This has been fixed in the latest libglade. I guess someone else had the same problem.