diff options
-rw-r--r-- | tagit/actions/__init__.py | 4 | ||||
-rw-r--r-- | tagit/actions/misc.py | 2 | ||||
-rw-r--r-- | tagit/apps/desktop.py | 7 | ||||
-rw-r--r-- | tagit/apps/port_data.py | 2 |
4 files changed, 7 insertions, 8 deletions
diff --git a/tagit/actions/__init__.py b/tagit/actions/__init__.py index bcd71c0..b8b65b8 100644 --- a/tagit/actions/__init__.py +++ b/tagit/actions/__init__.py @@ -79,8 +79,8 @@ class ActionBuilder(BuilderBase): 'ShowConsole': misc.ShowConsole, 'ShowHelp': misc.ShowHelp, 'ShowSettings': misc.ShowSettings, - 'ClipboardCopy': misc.ClipboardCopy, - 'ClipboardPaste': misc.ClipboardPaste, + #'ClipboardCopy': misc.ClipboardCopy, + #'ClipboardPaste': misc.ClipboardPaste, ## objects #'RotateLeft': objects.RotateLeft, #'RotateRight': objects.RotateRight, diff --git a/tagit/actions/misc.py b/tagit/actions/misc.py index b7d0a87..f74e0f9 100644 --- a/tagit/actions/misc.py +++ b/tagit/actions/misc.py @@ -27,7 +27,7 @@ from tagit.widgets import Binding from .action import Action # constants -HELP_URL = 'https://www.igsor.net/projects/tagit/' +HELP_URL = 'https://www.bsfs.io/' # exports __all__ = [] diff --git a/tagit/apps/desktop.py b/tagit/apps/desktop.py index d934649..b64bf7e 100644 --- a/tagit/apps/desktop.py +++ b/tagit/apps/desktop.py @@ -35,7 +35,7 @@ class TagitApp(App): self.settings_cls = SettingsWithSidebar # set title - self.title = 'tagit v2.0' + self.title = 'tagit v0.23.03' # load config from tagit.config.loader import load_settings, TAGITRC @@ -53,15 +53,12 @@ class TagitApp(App): store.migrate(required_schema | store.schema) # create widget - return desktop.MainWindow(cfg, store, None) # FIXME: expects cfg, stor, log arguments + return desktop.MainWindow(cfg, store, None) # FIXME: mb/port: expects log arguments def on_start(self): # trigger startup operations self.root.on_startup() - # FIXME: mb/port - #def on_stop(self): - # self.root.session.storage.close() def main(argv): """Start the tagit GUI. Opens a window to browse images.""" diff --git a/tagit/apps/port_data.py b/tagit/apps/port_data.py index 11faaef..2e4161b 100644 --- a/tagit/apps/port_data.py +++ b/tagit/apps/port_data.py @@ -9,6 +9,8 @@ from tagit.utils.bsfs import URI # load data def add_port_data(store): + with open(os.path.join(os.path.dirname(__file__), 'port-schema.pkl'), 'rb') as ifile: + store._backend._schema = pickle.load(ifile) with open(os.path.join(os.path.dirname(__file__), 'port-data.pkl'), 'rb') as ifile: for triple in pickle.load(ifile): store._backend._graph.add(triple) |