bug 395731: make the Save File action appear after the Choose Application... action in the actions dropdown menu in the Applications prefpane; r=gavin, a=mconnor
git-svn-id: svn://10.0.0.236/trunk@236882 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
da7588ce54
commit
2c0d93a836
@ -1160,6 +1160,14 @@ var gApplicationsPane = {
|
||||
menu.selectedItem = menuItem;
|
||||
}
|
||||
|
||||
// Create a menu item for selecting a local application.
|
||||
{
|
||||
let menuItem = document.createElementNS(kXULNS, "menuitem");
|
||||
menuItem.setAttribute("oncommand", "gApplicationsPane.chooseApp(event)");
|
||||
menuItem.setAttribute("label", this._prefsBundle.getString("chooseApp"));
|
||||
menuPopup.appendChild(menuItem);
|
||||
}
|
||||
|
||||
// Create a menu item for saving to disk.
|
||||
// Note: this option isn't available to protocol types, since we don't know
|
||||
// what it means to save a URL having a certain scheme to disk, nor is it
|
||||
@ -1178,13 +1186,6 @@ var gApplicationsPane = {
|
||||
menu.selectedItem = menuItem;
|
||||
}
|
||||
|
||||
// Create a menu item for selecting a local application.
|
||||
{
|
||||
let menuItem = document.createElementNS(kXULNS, "menuitem");
|
||||
menuItem.setAttribute("oncommand", "gApplicationsPane.chooseApp(event)");
|
||||
menuItem.setAttribute("label", this._prefsBundle.getString("chooseApp"));
|
||||
menuPopup.appendChild(menuItem);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user