From 8cf9407c0e001b937b920c8de3f0c9ef8ee39c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Qu=C3=A8ze?= Date: Tue, 5 May 2015 12:24:11 +0200 Subject: [PATCH] Bug 1155519 - Add "View Pocket Items" menuitem to the bookmarks menu, r=dolske. --- browser/base/content/browser-menubar.inc | 4 ++++ browser/base/content/browser-places.js | 7 +++++++ browser/base/content/browser-pocket.dtd | 1 + browser/base/content/browser.xul | 6 ++++++ .../customizableui/content/panelUI.inc.xul | 4 ++++ browser/components/pocket/Pocket.jsm | 2 ++ browser/components/pocket/jar.mn | 2 ++ .../pocket/panels/img/pocketmenuitem16.png | Bin 0 -> 278 bytes .../pocket/panels/img/pocketmenuitem16@2x.png | Bin 0 -> 422 bytes browser/themes/linux/browser.css | 6 ++++++ browser/themes/osx/browser.css | 18 ++++++++++++++++++ browser/themes/windows/browser.css | 6 ++++++ 12 files changed, 56 insertions(+) create mode 100644 browser/components/pocket/panels/img/pocketmenuitem16.png create mode 100644 browser/components/pocket/panels/img/pocketmenuitem16@2x.png diff --git a/browser/base/content/browser-menubar.inc b/browser/base/content/browser-menubar.inc index 18b37e636d0d..0eaeba4acde3 100644 --- a/browser/base/content/browser-menubar.inc +++ b/browser/base/content/browser-menubar.inc @@ -387,6 +387,7 @@ oncommand="BookmarksEventHandler.onCommand(event, this.parentNode._placesView);" onclick="BookmarksEventHandler.onClick(event, this.parentNode._placesView);" onpopupshowing="BookmarkingUI.onMainMenuPopupShowing(event); + BookmarkingUI.updatePocketItemVisibility('menu_'); if (!this.parentNode._placesView) new PlacesMenu(event, 'place:folder=BOOKMARKS_MENU');" tooltip="bhTooltip" popupsinherittooltip="true"> @@ -460,6 +461,9 @@ #endif + +