def do_startup(self): Gtk.Application.do_startup(self) if self.purge_recent: items = recentManager.get_items() for item in items: uri = item.get_uri() if item.get_application_info("pychess"): recentManager.remove_item(uri) self.git_rev = "" self.initGlade(self.log_viewer) self.addPerspectives() self.handleArgs(self.chess_file) checkversion() self.loaded_cids = {} self.saved_cids = {} self.terminated_cids = {} log.info("PyChess %s %s git %s" % (VERSION_NAME, VERSION, self.git_rev)) log.info("Command line args: '%s'" % self.chess_file) log.info("Platform: %s" % platform.platform()) log.info("Python version: %s.%s.%s" % sys.version_info[0:3]) log.info("Pyglib version: %s.%s.%s" % GLib.pyglib_version)
def __init__(self, log_viewer, chess_file): self.git_rev = "" self.initGlade(log_viewer) self.handleArgs(chess_file) checkversion() self.loaded_cids = {} self.saved_cids = {} self.terminated_cids = {}
def __init__(self, log_viewer, chess_file): self.git_rev = "" self.initGlade(log_viewer) self.handleArgs(chess_file) checkversion() self.loaded_cids = {} self.saved_cids = {} self.terminated_cids = {}
def do_startup(self): Gtk.Application.do_startup(self) if self.purge_recent: items = recent_manager.get_items() for item in items: uri = item.get_uri() if item.get_application_info("pychess"): recent_manager.remove_item(uri) self.git_rev = "" self.initGlade(self.log_viewer) self.addPerspectives() self.handleArgs(self.chess_file) create_task(checkversion()) self.loaded_cids = {} self.saved_cids = {} self.terminated_cids = {} log.info("PyChess %s %s git %s" % (VERSION_NAME, VERSION, self.git_rev)) log.info("Command line args: '%s'" % self.chess_file) log.info("Platform: %s" % platform.platform()) log.info("Python version: %s.%s.%s" % sys.version_info[0:3]) log.info("Pyglib version: %s.%s.%s" % GLib.pyglib_version) log.info("Gtk version: %s.%s.%s" % (Gtk.get_major_version(), Gtk.get_minor_version(), Gtk.get_micro_version()))
def __init__(self, log_viewer, chess_file): self.git_rev = "" self.initGlade(log_viewer) self.handleArgs(chess_file) checkversion()
def __init__(self, log_viewer, chess_file): self.git_rev = "" self.initGlade(log_viewer) self.handleArgs(chess_file) checkversion()