diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 619927e98..4d999c3c1 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -17,6 +17,8 @@ * src/plugins/TimeLine.py (define_graphics_styles): Add method. * src/plugins/DesGraph.py: Add styles before initializing doc. + * src/StyleEditor.py (draw,save_paragraph): Swap SERIF and SANS_SERIF. + 2005-01-23 Don Allingham * src/BaseDoc.py: don't check for init on table or cell addition * src/Report.py: Call doc.init() before write_report diff --git a/gramps2/src/StyleEditor.py b/gramps2/src/StyleEditor.py index 224e69a07..5fcb0e6e0 100644 --- a/gramps2/src/StyleEditor.py +++ b/gramps2/src/StyleEditor.py @@ -1,7 +1,7 @@ # # Gramps - a GTK+/GNOME based genealogy program # -# Copyright (C) 2000-2004 Donald N. Allingham +# Copyright (C) 2000-2005 Donald N. Allingham # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -212,7 +212,7 @@ class StyleEditor: font = p.get_font() self.top.get_widget("size").set_value(font.get_size()) - if font.get_type_face() == BaseDoc.FONT_SANS_SERIF: + if font.get_type_face() == BaseDoc.FONT_SERIF: self.top.get_widget("roman").set_active(1) else: self.top.get_widget("swiss").set_active(1) @@ -258,9 +258,9 @@ class StyleEditor: font.set_size(int(self.top.get_widget("size").get_value())) if self.top.get_widget("roman").get_active(): - font.set_type_face(BaseDoc.FONT_SANS_SERIF) - else: font.set_type_face(BaseDoc.FONT_SERIF) + else: + font.set_type_face(BaseDoc.FONT_SANS_SERIF) font.set_bold(self.top.get_widget("bold").get_active()) font.set_italic(self.top.get_widget("italic").get_active())