mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 397690: followup patch for complete fix to make handler apps display as full application name rather than executable name; r=gavin, a=mconnor
This commit is contained in:
parent
89660da028
commit
71dc89cd30
@ -1005,7 +1005,11 @@ var gApplicationsPane = {
|
|||||||
return this._prefsBundle.getString("saveFile");
|
return this._prefsBundle.getString("saveFile");
|
||||||
|
|
||||||
case Ci.nsIHandlerInfo.useHelperApp:
|
case Ci.nsIHandlerInfo.useHelperApp:
|
||||||
return getDisplayNameForFile(aHandlerInfo.preferredApplicationHandler.executable);
|
var preferredApp = aHandlerInfo.preferredApplicationHandler;
|
||||||
|
if (preferredApp instanceof Ci.nsILocalHandlerApp)
|
||||||
|
return getDisplayNameForFile(preferredApp.executable);
|
||||||
|
else
|
||||||
|
return preferredApp.name;
|
||||||
|
|
||||||
case Ci.nsIHandlerInfo.handleInternally:
|
case Ci.nsIHandlerInfo.handleInternally:
|
||||||
// For the feed type, handleInternally means live bookmarks.
|
// For the feed type, handleInternally means live bookmarks.
|
||||||
|
Loading…
Reference in New Issue
Block a user