From 25df2fda58e6ef6615f5b28230b62965e7bab281 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 30 Nov 2001 04:43:14 +0000 Subject: [PATCH] Fixed several small bugs with saving config values svn: r598 --- src/Config.py | 3 +++ src/MediaView.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Config.py b/src/Config.py index d4fc5f389..1459cad2d 100644 --- a/src/Config.py +++ b/src/Config.py @@ -188,6 +188,9 @@ def loadConfig(call): global web_dir global db_dir global status_bar + global mediaref + global globalprop + global localprop _callback = call lastfile = get_string("/gramps/data/LastFile") diff --git a/src/MediaView.py b/src/MediaView.py index 61e994fa0..959be532d 100644 --- a/src/MediaView.py +++ b/src/MediaView.py @@ -172,7 +172,7 @@ class MediaView: os.execvp(const.editor,[const.editor, self.obj.getPath()]) def popup_convert_to_private(self, obj): - name = RelImage.import_media_object(self.obj.getPath(),self.path,self.obj.getId()) + name = RelImage.import_media_object(self.obj.getPath(),self.db.getSavePath(),self.obj.getId()) self.obj.setPath(name) self.obj.setLocal(1)