gtkrun.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 24 May 2010 05:15:43 +0000 (13:15 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 24 May 2010 05:15:43 +0000 (13:15 +0800)
gtkrun.js

index 21d6fb6..0783613 100644 (file)
--- a/gtkrun.js
+++ b/gtkrun.js
@@ -53,7 +53,7 @@ files.forEach(function(f) {
         olist.push(imports[f.replace(/\.bjs$/, '.js')]);
         continue;
     }
-    var gtkbuilder =  new imports.Builder.Provider.File.Gtk.Gtk({ path : f });
+    var gtkbuilder =  new imports.Builder.Provider.File.Gtk.Gtk({ path : Seed.argv[2] + '/' + f });
     gtkbuilder.loadItems(function() { });
     gtkbuilder.saveJS();
     olist.push(imports[f.replace(/\.bjs$/, '.js')]);