Browse Source

[NAVIGATOR] Bookmarks Menu work

custom-2020
Matt A. Tobin 3 years ago committed by Roy Tam
parent
commit
020c6c3a2e
  1. 7
      navigator/base/content/navigator.xul
  2. 13
      navigator/base/content/navigatorOverlay.xul
  3. 6
      navigator/base/locale/region.properties

7
navigator/base/content/navigator.xul

@ -398,10 +398,13 @@
onpopupshowing="BookmarksMenu.onPopupShowing(event, 'BMB_');
BookmarksEventHandler.onPopupShowing(event);"
tooltip="bhTooltip" popupsinherittooltip="true">
<menuitem command="Browser:ManageBookmark"/>
<menuseparator/>
<!--
<menuitem command="Browser:AddBookmark"/>
-->
<menuitem command="Browser:AddBookmarkAs"/>
<menuitem command="Browser:BookmarkAllTabs"/>
<menuitem command="Browser:ManageBookmark"/>
<menuseparator/>
<menu id="BMB_feedsMenu" class="menu-iconic feedsMenu" command="feedsMenu"
label="&feedsMenu.label;" accesskey="&feedsMenu.accesskey;">
@ -429,7 +432,7 @@
onpopupshowing="if (!this.parentNode._placesView)
new PlacesMenu(event, 'place:folder=UNFILED_BOOKMARKS');"/>
</menu>
<menuseparator/>
<menuseparator class="hide-if-empty-places-result"/>
</menupopup>
</toolbarbutton>

13
navigator/base/content/navigatorOverlay.xul

@ -473,18 +473,21 @@
onpopupshowing="BookmarksMenu.onPopupShowing(event, '');
BookmarksEventHandler.onPopupShowing(event);"
tooltip="bhTooltip" popupsinherittooltip="true">
<menuitem id="menu_bookmarkManager"
command="Browser:ManageBookmark"
key="manBookmarkKb"/>
<menuseparator id="organizeBookmarksSeparator"/>
<!--
<menuitem id="menu_bookmarkThisPage"
command="Browser:AddBookmark"
key="addBookmarkKb"/>
-->
<menuitem id="menu_bookmarkThisPageAs"
command="Browser:AddBookmarkAs"
key="addBookmarkAsKb"/>
<menuitem id="menu_bookmarkAllTabs"
command="Browser:BookmarkAllTabs"/>
<menuitem id="menu_bookmarkManager"
command="Browser:ManageBookmark"
key="manBookmarkKb"/>
<menuseparator id="organizeBookmarksSeparator"/>
<menuseparator/>
<menu id="menu_iconic_feedsMenu"
label="&feedsMenu.label;"
accesskey="&feedsMenu.accesskey;"
@ -514,7 +517,7 @@
onpopupshowing="if (!this.parentNode._placesView)
new PlacesMenu(event, 'place:folder=UNFILED_BOOKMARKS');"/>
</menu>
<menuseparator/>
<menuseparator class="hide-if-empty-places-result"/>
</menupopup>
</menu>

6
navigator/base/locale/region.properties

@ -6,8 +6,8 @@
#
# all.js
#
browser.startup.homepage=http://binaryoutcast.com/projects/borealis
browser.throbber.url=http://binaryoutcast.com/projects/borealis
browser.startup.homepage=http://binaryoutcast.com/projects/borealis/
browser.throbber.url=http://binaryoutcast.com/projects/borealis/
browser.translation.service=http://translate.google.com/translate?prev=/language_tools&u=
browser.translation.serviceDomain=translate.google.com
@ -15,7 +15,7 @@ browser.validate.html.service=http://validator.w3.org/check?charset=%28detect+au
#config.js
#
startup.homepage_override_url=https://github.com/binoc-central/navigator
startup.homepage_override_url=http://binaryoutcast.com/projects/borealis/
# This is the default set of web based feed handlers shown in the reader
# selection UI

Loading…
Cancel
Save