2008-01-23 Brian Matherly <brian@gramps-project.org>
Benny Malengier <benny.malengier@gramps-project.org>: backport trunk * src/ReportBase/_StyleComboBox.py: * src/ReportBase/_StyleEditor.py: Modify the style editor to properly handle unicode style names. svn: r9919
This commit is contained in:
@@ -83,7 +83,7 @@ class StyleComboBox(gtk.ComboBox):
|
||||
active = self.get_active()
|
||||
if active < 0:
|
||||
return None
|
||||
key = self.store[active][0]
|
||||
key = unicode(self.store[active][0])
|
||||
if key == _('default'):
|
||||
key = "default"
|
||||
return (key,self.style_map[key])
|
||||
|
Reference in New Issue
Block a user