Contribution from Johan Gonqvist <johan.gronqvist@gmail.com>: NarrativeWeb links incorrect in windows. (#0001117)
svn: r8768
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
2007-07-23 Johan Gonqvist <johan.gronqvist@gmail.com>
|
||||||
|
* src/plugins/NarrativeWeb.py:
|
||||||
|
NarrativeWeb links incorrect in windows. (#0001117)
|
||||||
|
|
||||||
2007-07-23 Brian Matherly <brian@gramps-project.org>
|
2007-07-23 Brian Matherly <brian@gramps-project.org>
|
||||||
* src/plugins/IndivComplete.py:
|
* src/plugins/IndivComplete.py:
|
||||||
* src/plugins/Summary.py:
|
* src/plugins/Summary.py:
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
# Gramps - a GTK+/GNOME based genealogy program
|
# Gramps - a GTK+/GNOME based genealogy program
|
||||||
#
|
#
|
||||||
# Copyright (C) 2000-2007 Donald N. Allingham
|
# Copyright (C) 2000-2007 Donald N. Allingham
|
||||||
|
# Copyright (C) 2007 Johan Gonqvist <johan.gronqvist@gmail.com>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Pubilc License as published by
|
# it under the terms of the GNU General Pubilc License as published by
|
||||||
@@ -217,10 +218,10 @@ class BasePage:
|
|||||||
return of
|
return of
|
||||||
|
|
||||||
def link_path(self,name,path):
|
def link_path(self,name,path):
|
||||||
base = self.build_name("",name)
|
path = "%s/%s/%s" % (path,name[0],name[1])
|
||||||
path = "%s/%s/%s/%s" % (path,name[0],name[1],base)
|
|
||||||
if os.sys.platform == "win32":
|
if os.sys.platform == "win32":
|
||||||
path = path.lower()
|
path = path.lower()
|
||||||
|
path = self.build_name(path,name)
|
||||||
return path
|
return path
|
||||||
|
|
||||||
def create_link_file(self,name,path):
|
def create_link_file(self,name,path):
|
||||||
|
Reference in New Issue
Block a user