[Add some code to the main window Neil Mitchell**20080823093151] { addfile ./xul/hoogle/chrome/content/main.js hunk ./xul/hoogle/chrome/content/main.js 1 + +function test() +{ + alert("hello"); + /* + var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile); + file.initWithPath("start"); + + alert("here3"); + var process = Components.classes["@mozilla.org/process/util;1"].createInstance(Components.interfaces.nsIProcess); + process.init(file); + + var argv = ["/min","/wait", "hoogle","/web","/debug"]; + alert("here3"); + process.run(true, argv, argv.length); + */ +} hunk ./xul/hoogle/chrome/content/main.xul 4 - - + +