Exemplo n.º 1
0
    def _selected_projects_changed(self, old, new):
        project = ''
        if new:
            project = new[0].name

        self.igsn.project = project
        BaseBrowserTask._selected_projects_changed(self, old, new)
Exemplo n.º 2
0
    def _selected_projects_changed(self, new):
        project = ''
        if new:
            project = new[0].name

        self.igsn.project = project
        BaseBrowserTask._selected_projects_changed(self, new)
Exemplo n.º 3
0
    def activated(self):
        p = os.path.join(paths.hidden_dir, self.id)
        if os.path.isfile(p):
            d = shelve.open(p)

            try:
                self.batch_editor.values = d['values']
                self.batch_editor.blanks = d['blanks']
            except Exception:
                pass

        BaseBrowserTask.activated(self)
Exemplo n.º 4
0
    def activated(self):
        p = os.path.join(paths.hidden_dir, self.id)
        if os.path.isfile(p):
            d = shelve.open(p)

            try:
                self.batch_editor.values = d['values']
                self.batch_editor.blanks = d['blanks']
            except Exception:
                pass

        BaseBrowserTask.activated(self)