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:
myk%mozilla.org 2007-09-28 22:40:49 +00:00
Родитель 5caf70f58f
Коммит d47b7db953
1 изменённых файлов: 8 добавлений и 7 удалений

Просмотреть файл

@ -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);
}
},