BookReport.py: fix bug in file path build routine

svn: r12443
This commit is contained in:
Gerald Britton 2009-04-13 19:25:29 +00:00
parent a02dd4e199
commit 85e9b4dd1b

View File

@ -575,7 +575,6 @@ class BookListDisplay:
self.xml = gtk.Builder() self.xml = gtk.Builder()
self.xml.add_from_source(glade_file) self.xml.add_from_source(glade_file)
self.xml.get_object('top').hide() self.xml.get_object('top').hide()
#self.xml = glade.XML(glade_file, "booklist", "gramps")
self.top = self.xml.get_object('booklist') self.top = self.xml.get_object('booklist')
ManagedWindow.set_titles(self.top, ManagedWindow.set_titles(self.top,
@ -690,7 +689,6 @@ class BookReportSelector(ManagedWindow.ManagedWindow):
self.xml = gtk.Builder() self.xml = gtk.Builder()
self.xml.add_from_file(glade_file') self.xml.add_from_file(glade_file')
self.xml.get_object('booklist').hide() self.xml.get_object('booklist').hide()
#self.xml = glade.XML(glade_file, "top", "gramps")
window = self.xml.get_object("top") window = self.xml.get_object("top")
title_label = self.xml.get_object('title') title_label = self.xml.get_object('title')
self.set_window(window, title_label, self.title) self.set_window(window, title_label, self.title)