From 5a1fb9bddfc63f1947c454777864b3e2ca6e0566 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Mon, 25 Apr 2005 03:33:00 +0000 Subject: [PATCH] * src/Report.py (GrampsStyleComboBox): Use non-translated style name. svn: r4423 --- gramps2/ChangeLog | 2 ++ gramps2/src/Report.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 5e28effd0..224235805 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -23,6 +23,8 @@ * src/EditSource.py (button_press): Proper invokation of editors. * src/ImageSelect.py: Remove workarounds for window management. + * src/Report.py (GrampsStyleComboBox): Use non-translated style name. + 2005-04-23 Julio Sanchez * src/po/es.po: Nearly complete update, but completely untested diff --git a/gramps2/src/Report.py b/gramps2/src/Report.py index e6116114a..088c9e6e4 100644 --- a/gramps2/src/Report.py +++ b/gramps2/src/Report.py @@ -169,6 +169,8 @@ class GrampsStyleComboBox(gtk.ComboBox): if active < 0: return None key = self.store[active][0] + if key == _('default'): + key = "default" return (key,self.style_map[key]) #-------------------------------------------------------------------------