From: Richard Purdie Date: Fri, 19 Jun 2009 12:26:18 +0000 (+0100) Subject: bitbake: puccho: Fix glade file location X-Git-Tag: 2011-1~7284 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=19e1d23dd1c46b11d929d8803f24121b7b8447d3;p=openembedded-core.git bitbake: puccho: Fix glade file location Signed-off-by: Richard Purdie --- diff --git a/bitbake-dev/lib/bb/ui/puccho.py b/bitbake-dev/lib/bb/ui/puccho.py index dd34182c8d..713aa1f4a6 100644 --- a/bitbake-dev/lib/bb/ui/puccho.py +++ b/bitbake-dev/lib/bb/ui/puccho.py @@ -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)