зеркало из https://github.com/mozilla/pjs.git
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
This commit is contained in:
Родитель
5caf70f58f
Коммит
d47b7db953
|
@ -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);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче