2010-07-24 17:36:48 +02:00
|
|
|
diff --git a/mail/components/shell/nsMailGNOMEIntegration.cpp b/mail/components/shell/nsMailGNOMEIntegration.cpp
|
|
|
|
--- a/mail/components/shell/nsMailGNOMEIntegration.cpp
|
|
|
|
+++ b/mail/components/shell/nsMailGNOMEIntegration.cpp
|
|
|
|
@@ -93,16 +93,22 @@ nsMailGNOMEIntegration::Init()
|
|
|
|
rv = NS_GetSpecialDirectory(NS_XPCOM_CURRENT_PROCESS_DIR,
|
|
|
|
getter_AddRefs(appPath));
|
2007-01-15 23:49:32 +01:00
|
|
|
NS_ENSURE_SUCCESS(rv, rv);
|
|
|
|
|
2010-07-24 17:36:48 +02:00
|
|
|
rv = appPath->AppendNative(NS_LITERAL_CSTRING(MOZ_APP_NAME));
|
2007-01-15 23:49:32 +01:00
|
|
|
NS_ENSURE_SUCCESS(rv, rv);
|
|
|
|
|
2007-06-14 00:42:39 +02:00
|
|
|
rv = appPath->GetNativePath(mAppPath);
|
|
|
|
+
|
2010-07-24 17:36:48 +02:00
|
|
|
+ /* This path of thunderbird is hardcoded for the default path setting
|
2007-01-15 23:49:32 +01:00
|
|
|
+ * And the above code is not used.
|
|
|
|
+ */
|
|
|
|
+ mAppPath.Assign ("/usr/bin/thunderbird");
|
|
|
|
+
|
2007-06-14 00:42:39 +02:00
|
|
|
return rv;
|
|
|
|
}
|
|
|
|
|
|
|
|
NS_IMPL_ISUPPORTS1(nsMailGNOMEIntegration, nsIShellService)
|
|
|
|
|
2007-01-15 23:49:32 +01:00
|
|
|
|
2010-07-24 17:36:48 +02:00
|
|
|
NS_IMETHODIMP
|
|
|
|
nsMailGNOMEIntegration::IsDefaultClient(PRBool aStartupCheck, PRUint16 aApps, PRBool * aIsDefaultClient)
|