equal
deleted
inserted
replaced
|
1 diff --git a/browser/components/shell/src/nsGNOMEShellService.cpp b/browser/components/shell/src/nsGNOMEShellService.cpp |
|
2 --- a/browser/components/shell/src/nsGNOMEShellService.cpp |
|
3 +++ b/browser/components/shell/src/nsGNOMEShellService.cpp |
|
4 @@ -127,17 +127,21 @@ nsGNOMEShellService::Init() |
|
5 nsCOMPtr<nsILocalFile> appPath; |
|
6 rv = dirSvc->Get(NS_XPCOM_CURRENT_PROCESS_DIR, NS_GET_IID(nsILocalFile), |
|
7 getter_AddRefs(appPath)); |
|
8 NS_ENSURE_SUCCESS(rv, rv); |
|
9 |
|
10 rv = appPath->AppendNative(NS_LITERAL_CSTRING(MOZ_APP_NAME)); |
|
11 NS_ENSURE_SUCCESS(rv, rv); |
|
12 |
|
13 - return appPath->GetNativePath(mAppPath); |
|
14 + /* This path to firefox is hardcoded for the default path setting */ |
|
15 + mAppPath.Assign ("/usr/bin/firefox"); |
|
16 + |
|
17 + //return appPath->GetNativePath(mAppPath); |
|
18 + return NS_OK; |
|
19 } |
|
20 |
|
21 NS_IMPL_ISUPPORTS1(nsGNOMEShellService, nsIShellService) |
|
22 |
|
23 PRBool |
|
24 nsGNOMEShellService::KeyMatchesAppName(const char *aKeyValue) const |
|
25 { |
|
26 |