Fixed several small bugs with saving config values

svn: r598
This commit is contained in:
Don Allingham 2001-11-30 04:43:14 +00:00
parent 2d11160e24
commit 6d2a821933
2 changed files with 4 additions and 1 deletions

View File

@ -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")

View File

@ -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)