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:
Benny Malengier
2008-01-23 13:35:33 +00:00
parent 65dcc697ac
commit 10ae727aa1
3 changed files with 9 additions and 3 deletions

View File

@@ -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])