BookReport.py: fix bug in file path build routine
svn: r12442
This commit is contained in:
		@@ -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")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user