def setup_notebook(self, id):
        try:
            page = MODULES[id][MODULE_FUNC]
            page = page()
        except:
            run_traceback('error')
            page = ErrorPage()

        page.show_all()
        if isinstance(page, TweakPage):
            page.connect('update', self.on_child_page_update)
            page.connect('call', self.on_child_page_call)
        self.modules[page.__module__] = page
        self.notebook.append_page(page)
        image = gtk.Image()
        image.set_from_file(os.path.join(DATA_DIR, 'pixmaps/splash.png'))

        vbox.pack_start(image)
        win.add(vbox)

        win.show_all()

        while gtk.events_pending ():
            gtk.main_iteration ()

        win.destroy()
        gtk.gdk.threads_leave()

    def main(self):
        gtk.gdk.threads_enter()
        if TweakSettings.get_check_update():
            os.system("exec python updatemanager.py &")
        gtk.main()
        gtk.gdk.threads_leave()

if __name__ == "__main__":
    try:
        gobject.threads_init()
        if 'pynotify' in locals():
            pynotify.init("Basics")
        launcher = TweakLauncher()
        launcher.main()
    except:
		run_traceback('fatal')