summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-19 13:26:18 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-19 13:26:18 +0100
commit19e1d23dd1c46b11d929d8803f24121b7b8447d3 (patch)
tree81241271642ef97c7be4e56a74b407a51a85145e
parentce55609d56ac059dbe1e64e09f5d307c9e679a84 (diff)
downloadopenembedded-core-19e1d23dd1c46b11d929d8803f24121b7b8447d3.tar.gz
openembedded-core-19e1d23dd1c46b11d929d8803f24121b7b8447d3.tar.bz2
openembedded-core-19e1d23dd1c46b11d929d8803f24121b7b8447d3.zip
bitbake: puccho: Fix glade file location
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake-dev/lib/bb/ui/puccho.py4
1 files changed, 2 insertions, 2 deletions
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)