From 6d2a8219336f6620ede1f856ef4e8ecabd3a2ffa 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 --- gramps/src/Config.py | 3 +++ gramps/src/MediaView.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gramps/src/Config.py b/gramps/src/Config.py index d4fc5f389..1459cad2d 100644 --- a/gramps/src/Config.py +++ b/gramps/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/gramps/src/MediaView.py b/gramps/src/MediaView.py index 61e994fa0..959be532d 100644 --- a/gramps/src/MediaView.py +++ b/gramps/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)