From d47b7db9537feb5206ff31ad8ec298271b0874c0 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" Date: Fri, 28 Sep 2007 22:40:49 +0000 Subject: [PATCH] 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 --- browser/components/preferences/applications.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/browser/components/preferences/applications.js b/browser/components/preferences/applications.js index 30936b993fd..149b32948d6 100755 --- a/browser/components/preferences/applications.js +++ b/browser/components/preferences/applications.js @@ -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); - } },