Sophie

Sophie

distrib > Mageia > 4 > x86_64 > media > core-updates-src > by-pkgid > e81341bc699f0bc4b5f79deafb605d1e > files > 5

firefox-31.5.0-1.mga4.src.rpm

Index: mozilla-esr31/browser/components/shell/src/nsGNOMEShellService.cpp
===================================================================
--- mozilla-esr31/browser/components/shell/src/nsGNOMEShellService.cpp
+++ mozilla-esr31/browser/components/shell/src/nsGNOMEShellService.cpp	2014-09-06 00:25:53.016576331 +0200
@@ -113,7 +113,11 @@
                    getter_AddRefs(appPath));
   NS_ENSURE_SUCCESS(rv, rv);
 
-  return appPath->GetNativePath(mAppPath);
+  /* This path to firefox is hardcoded for the default path setting */
+  mAppPath.Assign ("/usr/bin/firefox");
+
+  //return appPath->GetNativePath(mAppPath);
+  return NS_OK;
 }
 
 NS_IMPL_ISUPPORTS(nsGNOMEShellService, nsIShellService)