equal
deleted
inserted
replaced
1391 + shellObj.initWithPath("/usr/bin/kwriteconfig"); |
1391 + shellObj.initWithPath("/usr/bin/kwriteconfig"); |
1392 + var process = Components.classes["@mozilla.org/process/util;1"] |
1392 + var process = Components.classes["@mozilla.org/process/util;1"] |
1393 + .createInstance(Components.interfaces.nsIProcess); |
1393 + .createInstance(Components.interfaces.nsIProcess); |
1394 + process.init(shellObj); |
1394 + process.init(shellObj); |
1395 + var args = ["--file", "kdeglobals", "--group", "General", "--key", |
1395 + var args = ["--file", "kdeglobals", "--group", "General", "--key", |
1396 + "BrowserApplication", "MozillaFirefox"]; |
1396 + "BrowserApplication", "firefox"]; |
1397 + process.run(false, args, args.length); |
1397 + process.run(false, args, args.length); |
1398 + } |
1398 + } |
1399 } catch (ex) { |
1399 } catch (ex) { |
1400 Components.utils.reportError(ex); |
1400 Components.utils.reportError(ex); |
1401 return; |
1401 return; |