--- a/firefox-kde-114.patch Sat Sep 15 23:24:13 2012 +0200
+++ b/firefox-kde-114.patch Thu Oct 04 06:53:00 2012 +0200
@@ -1,12 +1,12 @@
# HG changeset patch
# User Wolfgang Rosenauer <wr@rosenauer.org>
-# Parent 0db25ab919ad61d91a46d7700d3f06e2b66f9feb
+# Parent ba2d9b1374e15e7c339a44452169d0afac2ca82e
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
-@@ -719,15 +719,15 @@ var gAdvancedPane = {
+@@ -751,17 +751,17 @@ var gAdvancedPane = {
if (kde_session == 1) {
var shellObj = Components.classes["@mozilla.org/file/local;1"]
.createInstance(Components.interfaces.nsILocalFile);
@@ -19,7 +19,9 @@
+ "BrowserApplication", "firefox"];
process.run(false, args, args.length);
}
- document.getElementById("setDefaultPane").selectedIndex = 1;
+ let selectedIndex =
+ shellSvc.isDefaultBrowser(false, true) ? 1 : 0;
+ document.getElementById("setDefaultPane").selectedIndex = selectedIndex;
}
#endif
};