From fd5bb08aa33ef3c2ca6ba334397c973bcc0bca5b Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Tue, 11 Sep 2007 11:30:15 +0000 Subject: [PATCH] svn: r8961 --- ChangeLog | 4 ++++ src/PageView.py | 2 +- src/QuickReports.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 842a9ec32..5dcdad86b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-09-08 Benny Malengier + * src/PageView.py : cleanup + * src/QuickReports.py: fix error getting source handle + 2007-09-10 Don Allingham * src/SubstKeywords.py (SubstKeywords.replace_and_clean): fix substitution * src/ImgManip.py: fix typo diff --git a/src/PageView.py b/src/PageView.py index 99180f6c1..563ab6c96 100644 --- a/src/PageView.py +++ b/src/PageView.py @@ -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() diff --git a/src/QuickReports.py b/src/QuickReports.py index 8833f73db..751163198 100644 --- a/src/QuickReports.py +++ b/src/QuickReports.py @@ -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 :