From: Mike Hommey Date: Sat, 22 Nov 2008 08:35:23 +0000 (+0100) Subject: Properly launch applications set in $HOME/.mailcap X-Git-Tag: archive/raspbian/1%78.8.0-1+rpi1^2~35 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=56af7b5303d21ad4417f7d9c6ab6c3a4ec86056f;p=thunderbird.git Properly launch applications set in $HOME/.mailcap https://bugzilla.mozilla.org/show_bug.cgi?id=444440 Gbp-Pq: Topic fixes Gbp-Pq: Name Properly-launch-applications-set-in-HOME-.mailcap.patch --- diff --git a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp index 7cbefcce3e..c4bafefa25 100644 --- a/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp +++ b/uriloader/exthandler/unix/nsMIMEInfoUnix.cpp @@ -53,6 +53,10 @@ nsresult nsMIMEInfoUnix::LaunchDefaultWithFile(nsIFile* aFile) { if (mDefaultApplication) return nsMIMEInfoImpl::LaunchDefaultWithFile(aFile); nsAutoCString nativePath; +/* the name of the function has changed + * the old was the following: + nsCAutoString nativePath; + */ aFile->GetNativePath(nativePath); nsCOMPtr giovfs = do_GetService(NS_GIOSERVICE_CONTRACTID);