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 155738 - Unable to load FileChooserDialog from glade file
Unable to load FileChooserDialog from glade file
Status: RESOLVED FIXED
Product: libglademm
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-10-18 15:49 UTC by Doug
Modified: 2011-01-16 23:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
The glade file that fails (2.83 KB, text/plain)
2004-10-18 16:14 UTC, Doug
Details
The gladep glade file that fails (261 bytes, text/plain)
2004-10-18 16:15 UTC, Doug
Details
A test program that loads the glade file and demonstrates the error (874 bytes, text/plain)
2004-10-18 16:15 UTC, Doug
Details
bash shell script to compile the test program (285 bytes, text/plain)
2004-10-18 16:16 UTC, Doug
Details
log file from my building the test program on my computer (1.54 KB, text/plain)
2004-10-18 16:17 UTC, Doug
Details
List of all RPMS installed on my computer (16.95 KB, text/plain)
2004-10-18 16:21 UTC, Doug
Details
test_libglademm.cc (test case without GnomeProgram) (616 bytes, text/plain)
2004-10-28 00:01 UTC, Murray Cumming
Details

Description Doug 2004-10-18 15:49:19 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.
Comment 1 Doug 2004-10-18 16:14:22 UTC
Created attachment 32732 [details]
The glade file that fails

The glade file that fails to load
Comment 2 Doug 2004-10-18 16:15:09 UTC
Created attachment 32733 [details]
The gladep glade file that fails

The gladep file for the glade file that fails to load
Comment 3 Doug 2004-10-18 16:15:58 UTC
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
Comment 4 Doug 2004-10-18 16:16:33 UTC
Created attachment 32735 [details]
bash shell script to compile the test program

Bash shell script to compile the test program
Comment 5 Doug 2004-10-18 16:17:51 UTC
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
Comment 6 Doug 2004-10-18 16:21:28 UTC
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.
Comment 7 Murray Cumming 2004-10-28 00:01:43 UTC
Created attachment 33151 [details]
test_libglademm.cc (test case without GnomeProgram)
Comment 8 Murray Cumming 2004-10-28 00:11:27 UTC
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.
Comment 9 Murray Cumming 2005-02-15 08:40:46 UTC
This has been fixed in the latest libglade. I guess someone else had the same
problem.