forked from pool/MozillaFirefox
8c10f1c230
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=70994431c09d21f4b747e306424422cd
27 lines
946 B
Diff
27 lines
946 B
Diff
diff --git a/browser/components/shell/src/nsGNOMEShellService.cpp b/browser/components/shell/src/nsGNOMEShellService.cpp
|
|
--- a/browser/components/shell/src/nsGNOMEShellService.cpp
|
|
+++ b/browser/components/shell/src/nsGNOMEShellService.cpp
|
|
@@ -129,17 +129,21 @@ nsGNOMEShellService::Init()
|
|
nsCOMPtr<nsILocalFile> appPath;
|
|
rv = dirSvc->Get(NS_XPCOM_CURRENT_PROCESS_DIR, NS_GET_IID(nsILocalFile),
|
|
getter_AddRefs(appPath));
|
|
NS_ENSURE_SUCCESS(rv, rv);
|
|
|
|
rv = appPath->AppendNative(NS_LITERAL_CSTRING(MOZ_APP_NAME));
|
|
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_ISUPPORTS1(nsGNOMEShellService, nsIShellService)
|
|
|
|
PRBool
|
|
nsGNOMEShellService::KeyMatchesAppName(const char *aKeyValue) const
|
|
{
|
|
|