2012-02-01 14:23:54 +04:00
|
|
|
From: Wolfgang Rosenauer <wr@rosenauer.org>
|
|
|
|
Subject: Hardcode app starter for default check
|
|
|
|
|
|
|
|
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
|
2012-09-04 11:53:20 -04:00
|
|
|
@@ -144,7 +144,11 @@
|
2012-02-01 14:23:54 +04:00
|
|
|
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");
|
2012-09-04 11:53:20 -04:00
|
|
|
+
|
2012-02-01 14:23:54 +04:00
|
|
|
+ //return appPath->GetNativePath(mAppPath);
|
|
|
|
+ return NS_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
NS_IMPL_ISUPPORTS1(nsGNOMEShellService, nsIShellService)
|