make toolkit use hasDefaultApp to check for presence of default application.

defaultApplicationHandler will go away soon; this checkin is to avoid breakage
r=pch
This commit is contained in:
cbiesinger%web.de 2004-01-31 00:59:19 +00:00
parent 16681e9a1e
commit cf8556d066
2 changed files with 2 additions and 2 deletions

View File

@ -416,7 +416,7 @@ nsUnknownContentTypeDialog.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;
},

View File

@ -488,7 +488,7 @@ nsUnknownContentTypeDialog.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.
return this.mLauncher.MIMEInfo.defaultApplicationHandler;
return this.mLauncher.MIMEInfo.hasDefaultHandler;
#endif
},