bitbake: puccho: Fix glade file location

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-06-19 13:26:18 +01:00
parent ce55609d56
commit 19e1d23dd1
1 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ class BuildSetupDialog (gtk.Dialog):
button.show_all ()
# Pull in *just* the table from the Glade XML data.
gxml = gtk.glade.XML ("bitbake-dev/lib/bb/ui/crumbs/puccho.glade",
gxml = gtk.glade.XML (os.path.dirname(__file__) + "/crumbs/puccho.glade",
root = "build_table")
table = gxml.get_widget ("build_table")
self.vbox.pack_start (table, True, False, 0)
@ -347,7 +347,7 @@ class MainWindow (gtk.Window):
# Pull in *just* the main vbox from the Glade XML data and then pack
# that inside the window
gxml = gtk.glade.XML ("bitbake-dev/lib/bb/ui/crumbs/puccho.glade",
gxml = gtk.glade.XML (os.path.dirname(__file__) + "/crumbs/puccho.glade",
root = "main_window_vbox")
vbox = gxml.get_widget ("main_window_vbox")
self.add (vbox)