From d7317da93314720fae784c1205451291a906eec0 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Sat, 8 Mar 2008 15:55:06 +0000 Subject: [PATCH] Fixed issue exhibited on Windows with buttons becoming dead svn: r10224 --- ChangeLog | 6 +++++- src/DataViews/GrampletView.py | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 552a8f4bb..0dcbf03a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ +2008-03-08 Douglas S. Blank + * src/DataViews/GrampletView.py (GrampletWindow.close): + Fixed issue exhibited on Windows with buttons becoming dead + 2008-03-07 Peter Landgren * 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 2008-03-05 Raphael Ackermann * src/data/Makefile.am: add new css files and delete old ones. diff --git a/src/DataViews/GrampletView.py b/src/DataViews/GrampletView.py index 6178f7008..61aa902bd 100644 --- a/src/DataViews/GrampletView.py +++ b/src/DataViews/GrampletView.py @@ -176,9 +176,6 @@ class GrampletWindow(ManagedWindow.ManagedWindow): """ Closes the detached GrampletWindow. """ - self.gramplet.gvclose.show() - self.gramplet.gvstate.show() - self.gramplet.gvproperties.show() self.gramplet.gvoptions.hide() self.gramplet.viewpage.detached_gramplets.remove(self.gramplet) self.gramplet.state = "maximized" @@ -189,6 +186,9 @@ class GrampletWindow(ManagedWindow.ManagedWindow): fill, padding, pack) + self.gramplet.gvclose.show() + self.gramplet.gvstate.show() + self.gramplet.gvproperties.show() ManagedWindow.ManagedWindow.close(self, *args) #------------------------------------------------------------------------