From a02dd4e1994614880d152809fd0997caffda98b9 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Mon, 13 Apr 2009 19:10:06 +0000 Subject: [PATCH] BookReport.py: fix bug in file path build routine svn: r12442 --- src/plugins/BookReport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/BookReport.py b/src/plugins/BookReport.py index cd90ef478..9c2ab0c31 100644 --- a/src/plugins/BookReport.py +++ b/src/plugins/BookReport.py @@ -573,7 +573,7 @@ class BookListDisplay: base = os.path.dirname(__file__) glade_file = os.path.join(base,"book.glade") self.xml = gtk.Builder() - self.xml.add_from_source('/tmp/book.glade') + self.xml.add_from_source(glade_file) self.xml.get_object('top').hide() #self.xml = glade.XML(glade_file, "booklist", "gramps") self.top = self.xml.get_object('booklist') @@ -688,7 +688,7 @@ class BookReportSelector(ManagedWindow.ManagedWindow): base = os.path.dirname(__file__) glade_file = os.path.join(base,"book.glade") self.xml = gtk.Builder() - self.xml.add_from_file('/tmp/book.glade') + self.xml.add_from_file(glade_file') self.xml.get_object('booklist').hide() #self.xml = glade.XML(glade_file, "top", "gramps") window = self.xml.get_object("top")