firefox-kde.patch
changeset 809 af47260a332c
parent 807 f54c68340963
child 816 5551f1ff7e1d
equal deleted inserted replaced
807:f54c68340963 809:af47260a332c
  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;