diff --git a/ChangeLog b/ChangeLog index 4481ed8c4..e5e536ec1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-07-23 Johan Gonqvist + * src/plugins/NarrativeWeb.py: + Make URL handling on win32 work as in NarrativeWeb.py. (#0001087) + 2007-07-23 Don Allingham * src/plugins/ExtractCity.py: fix encoding diff --git a/src/plugins/GraphViz.py b/src/plugins/GraphViz.py index 0aa00231b..fdcfdbef0 100644 --- a/src/plugins/GraphViz.py +++ b/src/plugins/GraphViz.py @@ -2,6 +2,7 @@ # Gramps - a GTK+/GNOME based genealogy program # # Copyright (C) 2000-2007 Donald N. Allingham +# Cipyright (C) 2007 Johan Gonqvist # Contributions by Lorenzo Cappelletti # # This program is free software; you can redistribute it and/or modify @@ -454,7 +455,10 @@ just use iconv: url = "" if self.includeurl: h = person_handle - url = ', URL="ppl/%s/%s/%s.html", ' % (h[0],h[1],h) + dirpath = "ppl/%s/%s" % (h[0], h[1]) + if os.sys.platform == "win32": + dirpath = dirpath.lower() + url = ', URL="%s/%s.html", ' % (dirpath,h) buffer += '"p%s" [label="%s", %s%s];\n' % (p_id, label, style, url) # Output families where person is a parent