Handle unicode names for saved book reports.

svn: r8658
This commit is contained in:
Brian Matherly 2007-06-25 02:39:21 +00:00
parent d5f5b3a602
commit 5e06472c14
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-06-24 Brian Matherly <brian@gramps-project.org>
* src/plugins/BookReport.py (on_booklist_ok_clicked): Handle unicode names
2007-06-24 Brian Matherly <brian@gramps-project.org> 2007-06-24 Brian Matherly <brian@gramps-project.org>
* src/docgen/OpenOfficeDoc.py (rotate_text, init): remove fill color to * src/docgen/OpenOfficeDoc.py (rotate_text, init): remove fill color to
improve the fanchart display (#0001072) improve the fanchart display (#0001072)

View File

@ -542,7 +542,7 @@ class BookListDisplay:
store,the_iter = self.blist.get_selected() store,the_iter = self.blist.get_selected()
if the_iter: if the_iter:
data = self.blist.get_data(the_iter,[0]) data = self.blist.get_data(the_iter,[0])
self.selection = self.booklist.get_book(data[0]) self.selection = self.booklist.get_book(unicode(data[0]))
if self.dosave: if self.dosave:
self.booklist.save() self.booklist.save()