GTK Windows fail to reload correctly after being destroyed
Bug #237506 reported by
Chris Oliver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Envy |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
When you close any of the windows, such as the About window or the terminal window with the 'X' attempting to load the window again fails. Its because the windows are only loaded the first time when the glade file is loaded initially. Simple fix is to reload the glade file into a separate variable each time the windows are opened and then destroy them on exit.
Example, provided the About window is a dialog:
self.wTreeAbout = gtk.glade.
self.dlg = self.wTreeAbout
self.dlg.run() #Run dialog infinite loop until a value is returned
self.dlg.destroy() #Destroy window
Changed in envy: | |
status: | New → Incomplete |
To post a comment you must log in.