def main(): fc = FakeClient() ce = ClientExtras(fc) gobject.timeout_add(1000, ce.do_setup_xprops) try: gtk.main() finally: ce.cleanup()
def main(): logging.basicConfig(format="%(asctime)s %(message)s") logging.root.setLevel(logging.INFO) fc = FakeClient() ce = ClientExtras(fc) gobject.timeout_add(1000, ce.do_setup_xprops) try: gtk.main() finally: ce.cleanup()