Пример #1
0
    def __init__(self):
        GObject.GObject.__init__(self)
        Perspective.__init__(self, "learn", _("Learn"))
        self.always_on = True

        self.dockLocation = addUserConfigPrefix("pydock-learn.xml")
        self.first_run = True
Пример #2
0
    def __init__(self):
        GObject.GObject.__init__(self)
        Perspective.__init__(self, "learn", _("Learn"))
        self.always_on = True

        self.dockLocation = addUserConfigPrefix("pydock-learn.xml")
        self.first_run = True
Пример #3
0
 def __init__(self):
     GObject.GObject.__init__(self)
     Perspective.__init__(self, "database", _("Database"))
     self.widgets = gamewidget.getWidgets()
     self.chessfile = None
     self.chessfiles = []
     self.gamelists = []
     self.filter_panels = []
     self.notebooks = {}
     self.connect("chessfile_opened0", self.on_chessfile_opened0)
Пример #4
0
 def __init__(self):
     GObject.GObject.__init__(self)
     Perspective.__init__(self, "database", _("Database"))
     self.widgets = gamewidget.getWidgets()
     self.chessfile = None
     self.chessfiles = []
     self.gamelists = []
     self.filter_panels = []
     self.notebooks = {}
     self.connect("chessfile_opened0", self.on_chessfile_opened0)
Пример #5
0
 def __init__(self):
     GObject.GObject.__init__(self)
     Perspective.__init__(self, "database", _("Database"))
     self.widgets = gamewidget.getWidgets()
     self.first_run = True
     self.chessfile = None
     self.chessfiles = []
     self.importer = None
     self.gamelists = []
     self.filter_panels = []
     self.opening_tree_panels = []
     self.preview_panels = []
     self.notebooks = {}
     self.page_dict = {}
     self.connect("chessfile_opened0", self.on_chessfile_opened0)
     self.dockLocation = addUserConfigPrefix("pydock-database.xml")
Пример #6
0
 def __init__(self):
     GObject.GObject.__init__(self)
     Perspective.__init__(self, "database", _("Database"))
     self.widgets = gamewidget.getWidgets()
     self.first_run = True
     self.chessfile = None
     self.chessfiles = []
     self.importer = None
     self.gamelists = []
     self.filter_panels = []
     self.opening_tree_panels = []
     self.preview_panels = []
     self.notebooks = {}
     self.page_dict = {}
     self.connect("chessfile_opened0", self.on_chessfile_opened0)
     self.dockLocation = addUserConfigPrefix("pydock-database.xml")
Пример #7
0
    def __init__(self):
        GObject.GObject.__init__(self)
        Perspective.__init__(self, "games", _("Games"))

        self.notebooks = {}
        self.first_run = True
        self.gamewidgets = set()
        self.gmwidg_cids = {}
        self.board_cids = {}
        self.notify_cids = defaultdict(list)

        self.key2gmwidg = {}
        self.key2cid = {}

        self.dock = None
        self.dockAlign = None
Пример #8
0
    def __init__(self):
        GObject.GObject.__init__(self)
        Perspective.__init__(self, "games", _("Games"))

        self.notebooks = {}
        self.first_run = True
        self.gamewidgets = set()
        self.gmwidg_cids = {}
        self.board_cids = {}
        self.notify_cids = defaultdict(list)

        self.key2gmwidg = {}
        self.key2cid = {}

        self.dock = None
        self.dockAlign = None
Пример #9
0
 def __init__(self):
     Perspective.__init__(self, "games", _("Games"))
Пример #10
0
 def __init__(self):
     log.debug("FICS.__init__: starting")
     GObject.GObject.__init__(self)
     Perspective.__init__(self, "fics", _("ICS"))
     self.dockLocation = addUserConfigPrefix("pydock-fics.xml")
     self.first_run = True
Пример #11
0
 def __init__(self):
     GObject.GObject.__init__(self)
     Perspective.__init__(self, "database", _("Database"))
     self.gamelist = None
Пример #12
0
 def __init__(self):
     Perspective.__init__(self, "fics", _("ICS"))
    def __init__(self):
        Perspective.__init__(self, "welcome", _("Welcome"))

        self.default = True
        self.widget.add(tasker)
Пример #14
0
 def __init__(self):
     log.debug("FICS.__init__: starting")
     GObject.GObject.__init__(self)
     Perspective.__init__(self, "fics", _("ICS"))
     self.dockLocation = addUserConfigPrefix("pydock-fics.xml")
     self.first_run = True