Exacted changes to reflect the change from Web_Alphabet-*.css to Web_Navigation-*.css

svn: r14991
This commit is contained in:
Rob G. Healey 2010-04-01 16:16:01 +00:00
parent 59195c9303
commit 16e1cc5e3e
2 changed files with 4 additions and 5 deletions

View File

@ -5162,9 +5162,9 @@ class NavWebReport(Report):
# copy Navigation Menu Layout if Blue or Visually is being used
if self.css == "Web_Basic-Blue.css" or "Web_Visually.css":
if self.navigation == "Horizontal":
fname = os.path.join(const.DATA_DIR, "Web_Alphabet-Horizontal.css")
fname = os.path.join(const.DATA_DIR, "Web_Navigation-Horizontal.css")
else:
fname = os.path.join(const.DATA_DIR, "Web_Alphabet-Vertical.css")
fname = os.path.join(const.DATA_DIR, "Web_Navigation-Vertical.css")
self.copy_file(fname, "Web_Navigation-Menus.css", "styles")
# copy printer stylesheet

View File

@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# encoding: utf-8
#
# Gramps - a GTK+/GNOME based genealogy program
#
@ -322,7 +321,7 @@ class WebCalReport(Report):
# copy Navigation Menu Layout if Blue or Visually is being used
if self.css == "Web_Basic-Blue.css" or "Web_Visually.css":
fname = os.path.join(const.DATA_DIR, "Web_Alphabet-Horizontal.css")
fname = os.path.join(const.DATA_DIR, "Web_Navigation-Horizontal.css")
self.copy_file(fname, "Web_Navigation-Menus.css", "styles")
# copy print stylesheet