From f04db0c98df0d5b12e3bc40caf59fd055664be36 Mon Sep 17 00:00:00 2001 From: "myk%mozilla.org" Date: Mon, 17 Sep 2007 18:45:52 +0000 Subject: [PATCH] bug 395641: add a separator between the 'Live Bookmarks in Firefox' item and the helper app items in the Actions menu for the feed type in the Applications prefpane; r=gavin; a=mconnor git-svn-id: svn://10.0.0.236/trunk@236119 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/browser/components/preferences/applications.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mozilla/browser/components/preferences/applications.js b/mozilla/browser/components/preferences/applications.js index 885a35c1b01..d63124c090c 100755 --- a/mozilla/browser/components/preferences/applications.js +++ b/mozilla/browser/components/preferences/applications.js @@ -1078,7 +1078,7 @@ var gApplicationsPane = { while (menuPopup.hasChildNodes()) menuPopup.removeChild(menuPopup.lastChild); - // If this is the feed type, add "always ask" and "live bookmarks" items. + // If this is the feed type, add Preview in Firefox and Live Bookmarks items. if (handlerInfo.type == TYPE_MAYBE_FEED) { let menuItem = document.createElementNS(kXULNS, "menuitem"); menuItem.setAttribute("alwaysAsk", "true"); @@ -1094,6 +1094,11 @@ var gApplicationsPane = { menuPopup.appendChild(menuItem); if (handlerInfo.preferredAction == Ci.nsIHandlerInfo.handleInternally) menu.selectedItem = menuItem; + + // Add a separator to distinguish these items from the helper app items + // that follow them. + menuItem = document.createElementNS(kXULNS, "menuseparator"); + menuPopup.appendChild(menuItem); } // Create a menu item for the OS default application, if any.