Workaround for hiding buttons on detached gramplet

svn: r14326
This commit is contained in:
Doug Blank 2010-02-11 21:14:22 +00:00
parent fbedac6317
commit 77734ed302

View File

@ -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):
"""