2007-01-29 Don Allingham <don@gramps-project.org>

* src/ReportBase/_ReportOptions.py: fix landscape saving.



svn: r8006
This commit is contained in:
Don Allingham 2007-01-29 16:08:36 +00:00
parent 86c3937315
commit b188dd1796
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
2007-01-29 Don Allingham <don@gramps-project.org>
* src/ReportBase/_ReportOptions.py: fix landscape saving.
2007-01-28 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (_init_lists): Change Undo History binding to
Ctrl+H because AltH was colliding with Help menu shortcut.

View File

@ -252,7 +252,7 @@ class OptionListCollection(_Options.OptionListCollection):
if self.get_last_format_name() != self.default_format_name:
f.write(' <format name="%s"/>\n' % escxml(self.get_last_format_name()) )
if self.get_last_orientation() != self.default_orientation:
f.write(' <orientation value="%d"/>\n' % escxml(self.get_last_orientation()) )
f.write(' <orientation value="%d"/>\n' % self.get_last_orientation() )
f.write('</last-common>\n')
def write_module_common(self,f,option_list):
@ -270,7 +270,7 @@ class OptionListCollection(_Options.OptionListCollection):
f.write(' <format name="%s"/>\n' % escxml(option_list.get_format_name()) )
if option_list.get_orientation() \
and option_list.get_orientation() != self.default_orientation:
f.write(' <orientation value="%d"/>\n' % escxml(option_list.get_orientation()) )
f.write(' <orientation value="%d"/>\n' % option_list.get_orientation() )
def parse(self):
"""