File firefox-kde-114.patch of Package MozillaFirefox.2037

# HG changeset patch
# User Wolfgang Rosenauer <wr@rosenauer.org>
# Parent 8561b6e82f137b28ce3c8e8101c4b760298588a8
# Parent  b379cd031ed98be134f177b5ca7ea68ba66c863f
With openSUSE 11.4 the desktop file name changed from MozillaFirefox to
firefox - keep the old name for SLE11

diff --git a/browser/components/preferences/main.js b/browser/components/preferences/main.js
--- a/browser/components/preferences/main.js
+++ b/browser/components/preferences/main.js
@@ -563,17 +563,17 @@ var gMainPane = {
       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", "firefox"];
+            "BrowserApplication", "MozillaFirefox"];
         process.run(false, args, args.length);
       }
     } catch (ex) {
       Components.utils.reportError(ex);
       return;
     }
     let selectedIndex =
       shellSvc.isDefaultBrowser(false, true) ? 1 : 0;
openSUSE Build Service is sponsored by