From 503b52500ea80e7bbaed5f1c673264ff35d4f3f1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 24 May 2010 16:05:55 +0800 Subject: [PATCH] gtkrun.js --- gtkrun.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gtkrun.js b/gtkrun.js index 942651083..0a318d18d 100644 --- a/gtkrun.js +++ b/gtkrun.js @@ -54,7 +54,8 @@ files.forEach(function(f) { if (File.isFile(js)) { // check file time.. = bjs is less than compiled file.. if (File.mtime(fp) < File.mtime(js)) { - olist.push(imports[fp.replace(/\.bjs$/, '.js')]); + print ("LOADING" + js); + olist.push(imports[js]); return; } @@ -62,6 +63,7 @@ files.forEach(function(f) { } var gtkbuilder = new imports.Builder.Provider.File.Gtk.Gtk({ path : fp }); gtkbuilder.loadItems(function() { }); + print ("COMPILING" + js); var fn = gtkbuilder.saveJS(); if (fn === false) { // skip files that do not contain anythng! return; -- 2.39.2