diff --git a/toolkit/mozapps/extensions/content/extensions.js b/toolkit/mozapps/extensions/content/extensions.js index 9f40e76b361..c64e04de6ea 100644 --- a/toolkit/mozapps/extensions/content/extensions.js +++ b/toolkit/mozapps/extensions/content/extensions.js @@ -1627,6 +1627,7 @@ var gUpdateContextMenus = ["menuitem_homepage", "menuitem_about", "menuseparator // For Firefox don't display context menuitems that can open a browser window. var gUpdateContextMenusNoBrowser = ["menuitem_installUpdate", "menuitem_includeUpdate"]; var gInstallContextMenus = ["menuitem_homepage", "menuitem_about"]; +var gSearchContextMenus = ["menuitem_learnMore", "menuitem_installSearchResult"]; function buildContextMenu(aEvent) { @@ -1639,11 +1640,14 @@ function buildContextMenu(aEvent) popup.removeChild(popup.firstChild); switch (gView) { + case "search": + var menus = gSearchContextMenus; + break; case "extensions": case "themes": case "locales": case "plugins": - var menus = gAddonContextMenus; + menus = gAddonContextMenus; break; case "updates": menus = gUpdateContextMenus; diff --git a/toolkit/mozapps/extensions/content/extensions.xul b/toolkit/mozapps/extensions/content/extensions.xul index 75678bef845..644e258f19a 100644 --- a/toolkit/mozapps/extensions/content/extensions.xul +++ b/toolkit/mozapps/extensions/content/extensions.xul @@ -151,6 +151,10 @@ + +