svn: r8961

This commit is contained in:
Benny Malengier 2007-09-11 11:30:15 +00:00
parent f32dcb087a
commit fd5bb08aa3
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2007-09-08 Benny Malengier <benny.malengier@gramps-project.org>
* src/PageView.py : cleanup
* src/QuickReports.py: fix error getting source handle
2007-09-10 Don Allingham <don@gramps-project.org>
* src/SubstKeywords.py (SubstKeywords.replace_and_clean): fix substitution
* src/ImgManip.py: fix typo

View File

@ -859,7 +859,7 @@ class ListView(BookMarkView):
if menu and self.dbstate.active:
(ui, reportactions) = create_quickreport_menu(
self.QR_CATEGORY,
self.dbstate,
self.dbstate,
self.first_selected())
if len(reportactions) > 1 :
qr_menu = gtk.Menu()

View File

@ -123,7 +123,7 @@ def run_report(dbstate, category,handle,func):
elif category == CATEGORY_QR_EVENT :
obj = dbstate.db.get_event_from_handle(handle)
elif category == CATEGORY_QR_SOURCE :
obj = self.dbstate.db.get_source_from_handle(handle)
obj = dbstate.db.get_source_from_handle(handle)
elif category == CATEGORY_QR_PLACE :
obj = dbstate.db.get_place_from_handle(handle)
elif category == CATEGORY_QR_REPOSITORY :