2804: Cannot detach two gramplets

svn: r12300
This commit is contained in:
Doug Blank 2009-03-10 12:32:57 +00:00
parent a3656c2be5
commit 6470c49eda

View File

@ -211,7 +211,7 @@ class GrampletWindow(ManagedWindow.ManagedWindow):
""" """
self.title = gramplet.title + " " + _("Gramplet") self.title = gramplet.title + " " + _("Gramplet")
self.gramplet = gramplet self.gramplet = gramplet
ManagedWindow.ManagedWindow.__init__(self, gramplet.uistate, [], self.__class__) ManagedWindow.ManagedWindow.__init__(self, gramplet.uistate, [], self.title)
self.set_window(gtk.Dialog("",gramplet.uistate.window, self.set_window(gtk.Dialog("",gramplet.uistate.window,
gtk.DIALOG_DESTROY_WITH_PARENT, gtk.DIALOG_DESTROY_WITH_PARENT,
(gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE)), (gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE)),