From 77734ed302805f5b255b95c4e68e1ebf781de161 Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Thu, 11 Feb 2010 21:14:22 +0000 Subject: [PATCH] Workaround for hiding buttons on detached gramplet svn: r14326 --- src/gui/widgets/grampletpane.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/widgets/grampletpane.py b/src/gui/widgets/grampletpane.py index 223e8b835..44b172b22 100644 --- a/src/gui/widgets/grampletpane.py +++ b/src/gui/widgets/grampletpane.py @@ -236,6 +236,10 @@ class GrampletWindow(ManagedWindow.ManagedWindow): self.gramplet.mainframe.reparent(self.window.vbox) self.window.connect('response', self.handle_response) self.show() + # After we show, then we hide: + self.gramplet.gvclose.hide() + self.gramplet.gvstate.hide() + self.gramplet.gvproperties.hide() def handle_response(self, object, response): """