/[packages]/cauldron/firefox/current/SOURCES/firefox-31.0-appname.patch
ViewVC logotype

Contents of /cauldron/firefox/current/SOURCES/firefox-31.0-appname.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20612 - (show annotations) (download)
Sun Jan 16 22:32:37 2011 UTC (13 years, 3 months ago) by blino
Original Path: cauldron/firefox/current/SOURCES/firefox-3.6.3-appname.patch
File size: 1039 byte(s)
imported package firefox
1 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 @@ -127,17 +127,21 @@ nsGNOMEShellService::Init()
8 nsCOMPtr<nsILocalFile> appPath;
9 rv = dirSvc->Get(NS_XPCOM_CURRENT_PROCESS_DIR, NS_GET_IID(nsILocalFile),
10 getter_AddRefs(appPath));
11 NS_ENSURE_SUCCESS(rv, rv);
12
13 rv = appPath->AppendNative(NS_LITERAL_CSTRING(MOZ_APP_NAME));
14 NS_ENSURE_SUCCESS(rv, rv);
15
16 - return appPath->GetNativePath(mAppPath);
17 + /* This path to firefox is hardcoded for the default path setting */
18 + mAppPath.Assign ("/usr/bin/firefox");
19 +
20 + //return appPath->GetNativePath(mAppPath);
21 + return NS_OK;
22 }
23
24 NS_IMPL_ISUPPORTS1(nsGNOMEShellService, nsIShellService)
25
26 PRBool
27 nsGNOMEShellService::KeyMatchesAppName(const char *aKeyValue) const
28 {
29

  ViewVC Help
Powered by ViewVC 1.1.30