Fixed issue exhibited on Windows with buttons becoming dead

svn: r10224
This commit is contained in:
Doug Blank 2008-03-08 15:55:06 +00:00
parent 18f5768c2d
commit d7317da933
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2008-03-08 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/DataViews/GrampletView.py (GrampletWindow.close):
Fixed issue exhibited on Windows with buttons becoming dead
2008-03-07 Peter Landgren <peter.talken@telia.com> 2008-03-07 Peter Landgren <peter.talken@telia.com>
* src/plgins/NotRelated.py: Issue #1795 author information update * src/plgins/NotRelated.py: Issue #1795 author information update
* src/plgins/rel_sv.py: Fixed issues #1881 and 1910 * src/plgins/rel_sv.py: Fixed issues #1881 and 1910

View File

@ -176,9 +176,6 @@ class GrampletWindow(ManagedWindow.ManagedWindow):
""" """
Closes the detached GrampletWindow. Closes the detached GrampletWindow.
""" """
self.gramplet.gvclose.show()
self.gramplet.gvstate.show()
self.gramplet.gvproperties.show()
self.gramplet.gvoptions.hide() self.gramplet.gvoptions.hide()
self.gramplet.viewpage.detached_gramplets.remove(self.gramplet) self.gramplet.viewpage.detached_gramplets.remove(self.gramplet)
self.gramplet.state = "maximized" self.gramplet.state = "maximized"
@ -189,6 +186,9 @@ class GrampletWindow(ManagedWindow.ManagedWindow):
fill, fill,
padding, padding,
pack) pack)
self.gramplet.gvclose.show()
self.gramplet.gvstate.show()
self.gramplet.gvproperties.show()
ManagedWindow.ManagedWindow.close(self, *args) ManagedWindow.ManagedWindow.close(self, *args)
#------------------------------------------------------------------------ #------------------------------------------------------------------------