fix repo path bugs
authorAlan Knowles <alan@akkbhome.com>
Sun, 24 Oct 2010 03:04:58 +0000 (11:04 +0800)
committerAlan Knowles <alan@akkbhome.com>
Sun, 24 Oct 2010 03:04:58 +0000 (11:04 +0800)
gtkrun.js

index 0089d6a..0e35ae4 100644 (file)
--- a/gtkrun.js
+++ b/gtkrun.js
 // sort out import path - this is  a bit of a mess..
 GIRepository = imports.gi.GIRepository;
 GLib        = imports.gi.GLib;
-/* use builder.sh
+
+// we add this in, as it appears to get lost sometimes if we set it using the ENV. variable in builder.sh
 GIRepository.IRepository.prepend_search_path(GLib.get_home_dir() + '/.Builder/girepository-1.1');
-*/
+//print(JSON.stringify(GIRepository.IRepository.get_search_path()));
 
 Gtk         = imports.gi.Gtk;
 Gdk         = imports.gi.Gdk;
@@ -94,4 +95,4 @@ files.forEach(function(f) {
 
           
 Gtk.main();
\ No newline at end of file