1 |
blino |
20612 |
From: Wolfgang Rosenauer <wr@rosenauer.org> |
2 |
|
|
Subject: Hardcode app starter for default check |
3 |
|
|
|
4 |
|
|
diff --git a/browser/components/shell/src/nsGNOMEShellService.cpp b/browser/components/shell/src/nsGNOMEShellService.cpp |
5 |
|
|
--- a/browser/components/shell/src/nsGNOMEShellService.cpp |
6 |
|
|
+++ b/browser/components/shell/src/nsGNOMEShellService.cpp |
7 |
fwang |
133095 |
@@ -144,7 +144,11 @@ |
8 |
blino |
20612 |
rv = appPath->AppendNative(NS_LITERAL_CSTRING(MOZ_APP_NAME)); |
9 |
|
|
NS_ENSURE_SUCCESS(rv, rv); |
10 |
|
|
|
11 |
|
|
- return appPath->GetNativePath(mAppPath); |
12 |
|
|
+ /* This path to firefox is hardcoded for the default path setting */ |
13 |
|
|
+ mAppPath.Assign ("/usr/bin/firefox"); |
14 |
fwang |
133095 |
+ |
15 |
blino |
20612 |
+ //return appPath->GetNativePath(mAppPath); |
16 |
|
|
+ return NS_OK; |
17 |
|
|
} |
18 |
|
|
|
19 |
|
|
NS_IMPL_ISUPPORTS1(nsGNOMEShellService, nsIShellService) |