78919 part 1. r=bzbarsky, sr=darin. This adds an |hasDefaultHandler| attribute

to nsIMIMEInfo that should be used to check if a default application is available
for this mimeinfo.


git-svn-id: svn://10.0.0.236/trunk@144559 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
cbiesinger%web.de
2003-07-08 13:52:46 +00:00
parent db9bab2b0c
commit c80cb4ba6c
6 changed files with 33 additions and 12 deletions

View File

@@ -374,7 +374,7 @@ nsHelperAppDialog.prototype = {
// On other platforms, default is Ok if there is a default app.
// Note that nsIMIMEInfo providers need to ensure that this holds true
// on each platform.
result = this.mLauncher.MIMEInfo.defaultApplicationHandler;
result = this.mLauncher.MIMEInfo.hasDefaultHandler;
}
return result;
},