From 4aea0543b2a6b2ab5397f4c68676106f83320f9d Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Fri, 29 Jan 2010 23:49:31 +0000 Subject: [PATCH] When you close a detached gramplet, need to set active to the same as its viewpage svn: r14171 --- src/plugins/view/grampletview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/view/grampletview.py b/src/plugins/view/grampletview.py index 577ecbcde..e1102f6bb 100644 --- a/src/plugins/view/grampletview.py +++ b/src/plugins/view/grampletview.py @@ -288,6 +288,7 @@ class GrampletWindow(ManagedWindow.ManagedWindow): column = viewpage.columns[col] parent = self.gramplet.viewpage.get_column_frame(self.gramplet.column) self.gramplet.mainframe.reparent(parent) + self.gramplet.pui.active = self.gramplet.viewpage.active for gframe in stack: gramplet = viewpage.frame_map[str(gframe)] expand = gramplet.state == "maximized" and gramplet.expand