Пример #1
0
    def destroy(self):
        """
            Cleanups
        """
        providers.unregister('mainwindow-accelerators', self.accelerator)
        providers.unregister('menubar-view-menu', self.menuitem)
        controls.unregister()

        self.mainbutton.destroy()

        self.set_active(False)
        self.box.destroy()
        Gtk.Window.destroy(self)
Пример #2
0
    def destroy(self):
        """
            Cleanups
        """
        providers.unregister('mainwindow-accelerators', self.accelerator)
        providers.unregister('menubar-view-menu', self.menuitem)
        controls.unregister()

        self.mainbutton.destroy()

        self.set_active(False)
        self.box.destroy()
        Gtk.Window.destroy(self)