Hello-- Attached is a fix for what I believe to be a bug in src/writers/widget.cc. Briefly, I want to create a window without having the myWindow_glade() constructor call the myWindow->show() function. That way, my myWindow() constructor can make changes to the window before showing it. Based on the source code, it appears that I should be able to create the window in Glade and set the visible property to false. However, what happens in that case is that the "visible" property is not present in the .glade file. When visible=true, glade _always_ sets the visible property in the .glade file. The bug is that glade-- interprets the absence of the visible property in the .glade file to mean visible=true, where Glade is expecting the reverse. Attached is a one-line change to src/writers/widget.cc to change the glade-- behavior to match that of Glade. --Howdy ============================= Howdy Pierce Managing Partner Cardinal Peak, LLC email: howdy cardinalpeak com work: (303) 665-3962 cell: (303) 589-1645 =============================
Attachment:
widget.cc.diff
Description: Binary data