forked from pool/MozillaFirefox
6f2059ff99
- requires NSPR 4.9.2 - improve GStreamer integration (bmo#760140) - removed upstreamed mozilla-crashreporter-restart-args.patch - webapprt now included - use kmozillahelper's new REVEAL command (bnc#777415) (requires mozilla-kde4-integration >= 0.6.4) - updated translations-other with new languages OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=295
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
# HG changeset patch
|
|
# User Wolfgang Rosenauer <wr@rosenauer.org>
|
|
# Parent 5a741476f1d87380057f9fa02c6a580aed6e81ff
|
|
With openSUSE 11.4 the desktop file name changed from MozillaFirefox to firefox
|
|
|
|
diff --git a/browser/components/preferences/advanced.js b/browser/components/preferences/advanced.js
|
|
--- a/browser/components/preferences/advanced.js
|
|
+++ b/browser/components/preferences/advanced.js
|
|
@@ -751,17 +751,17 @@ var gAdvancedPane = {
|
|
if (kde_session == 1) {
|
|
var shellObj = Components.classes["@mozilla.org/file/local;1"]
|
|
.createInstance(Components.interfaces.nsILocalFile);
|
|
shellObj.initWithPath("/usr/bin/kwriteconfig");
|
|
var process = Components.classes["@mozilla.org/process/util;1"]
|
|
.createInstance(Components.interfaces.nsIProcess);
|
|
process.init(shellObj);
|
|
var args = ["--file", "kdeglobals", "--group", "General", "--key",
|
|
- "BrowserApplication", "MozillaFirefox"];
|
|
+ "BrowserApplication", "firefox"];
|
|
process.run(false, args, args.length);
|
|
}
|
|
let selectedIndex =
|
|
shellSvc.isDefaultBrowser(false, true) ? 1 : 0;
|
|
document.getElementById("setDefaultPane").selectedIndex = selectedIndex;
|
|
}
|
|
#endif
|
|
};
|