* src/plugins/BookReport.py: fix book loading
svn: r6966
This commit is contained in:
parent
26a7fa6ba1
commit
210a66996d
@ -1,3 +1,6 @@
|
||||
2006-06-24 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/BookReport.py: fix book loading
|
||||
|
||||
2006-06-24 Alex Roitman <shura@gramps-project.org>
|
||||
* src/ReportBase/_ReportDialog.py (report): Handle wm closing.
|
||||
* src/plugins/GraphViz.py (GraphVizDialog.__init__): Handle wm
|
||||
@ -5,7 +8,7 @@
|
||||
* src/plugins/NarrativeWeb.py (WebReportDialog.__init__): Handle
|
||||
wm closing.
|
||||
|
||||
2006-06-25 Brian Matherly <brian@gramps-project.org>
|
||||
2006-06-24 Brian Matherly <brian@gramps-project.org>
|
||||
* src/plugins/AncestorChart2.py: fix comment
|
||||
* src/plugins/DecendChart.py: fix comment
|
||||
* src/plugins/TimeLine.py: Remove Title option
|
||||
@ -13,7 +16,7 @@
|
||||
2006-06-24 Alex Roitman <shura@gramps-project.org>
|
||||
* debian/control (Build-Depends-Indep): Add xsltproc
|
||||
|
||||
2006-06-25 Brian Matherly <brian@gramps-project.org>
|
||||
2006-06-24 Brian Matherly <brian@gramps-project.org>
|
||||
* src/docgen/ODFDoc.py: Handle exception when file is not writeable
|
||||
* src/docgen/ODSDoc.py: Handle exception when file is not writeable
|
||||
* src/docgen/OpenOfficeDoc.py: Handle exception when file is not writeable
|
||||
|
@ -400,7 +400,7 @@ class BookList:
|
||||
try:
|
||||
p = make_parser()
|
||||
p.setContentHandler(BookParser(self))
|
||||
p.parse("file://" + self.file)
|
||||
p.parse(self.file)
|
||||
except (IOError,OSError,SAXParseException):
|
||||
pass
|
||||
|
||||
@ -726,10 +726,10 @@ class BookReportSelector(ManagedWindow.ManagedWindow):
|
||||
data = [ item.get_translated_name(),
|
||||
item.get_category(), item.get_name() ]
|
||||
if data[2] in ('simple_book_title','custom_text'):
|
||||
data.append(_("Not Applicable"))
|
||||
data[2]=(_("Not Applicable"))
|
||||
else:
|
||||
pname = self.db.get_person_from_gramps_id(person_id)
|
||||
data.append(pname.get_primary_name().get_regular_name())
|
||||
data[2]=(pname.get_primary_name().get_regular_name())
|
||||
self.bk_model.add(data)
|
||||
|
||||
def on_add_clicked(self,obj):
|
||||
|
Loading…
Reference in New Issue
Block a user