Fixed bug in the navigation menu and the calendar day items.

svn: r19087
This commit is contained in:
Rob G. Healey 2012-03-19 04:33:52 +00:00
parent f8f747fad6
commit 65764aef8f

View File

@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
#!/usr/bin/python #!/usr/bin/python
# #
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
@ -319,12 +318,7 @@ class WebCalReport(Report):
# copy Navigation Menu Layout if Blue or Visually is being used # copy Navigation Menu Layout if Blue or Visually is being used
if CSS[self.css]["navigation"]: if CSS[self.css]["navigation"]:
# if there are multiple years, add Horizontal else add Fade...
if self.multiyear:
fname = CSS["Horizontal-Menus"]["filename"] fname = CSS["Horizontal-Menus"]["filename"]
else:
fname = CSS["Fade-Menus"]["filename"]
self.copy_file(fname, "calendar-menus.css", "styles") self.copy_file(fname, "calendar-menus.css", "styles")
# copy print stylesheet # copy print stylesheet