зеркало из https://github.com/mozilla/pjs.git
Bug 367293 - Change 'Open in Tabs' to 'Open All in Tabs' (places-bookmarks builds). r=sspitzer.
This commit is contained in:
Родитель
7c508116e3
Коммит
dfee6e79fc
|
@ -342,7 +342,7 @@ var BookmarksEventHandler = {
|
|||
* DOMEvent for the command
|
||||
*/
|
||||
onCommand: function BM_onCommand(aEvent) {
|
||||
// If this is the special "Open in Tabs" menuitem,
|
||||
// If this is the special "Open All in Tabs" menuitem,
|
||||
// load all the menuitems in tabs.
|
||||
|
||||
var target = aEvent.originalTarget;
|
||||
|
@ -359,8 +359,8 @@ var BookmarksEventHandler = {
|
|||
|
||||
/**
|
||||
* Handler for popupshowing event for an item in bookmarks toolbar or menu.
|
||||
* If the item isn't the main bookmarks menu, add an "Open in Tabs" menuitem
|
||||
* to the bottom of the popup.
|
||||
* If the item isn't the main bookmarks menu, add an "Open All in Tabs"
|
||||
* menuitem to the bottom of the popup.
|
||||
* @param event
|
||||
* DOMEvent for popupshowing
|
||||
*/
|
||||
|
@ -368,7 +368,7 @@ var BookmarksEventHandler = {
|
|||
var target = event.target;
|
||||
|
||||
if (target.localName == "menupopup" && target.id != "bookmarksMenuPopup") {
|
||||
// Show "Open in Tabs" menuitem if there are at least
|
||||
// Show "Open All in Tabs" menuitem if there are at least
|
||||
// two menuitems with places result nodes, and "Open (Feed Name)"
|
||||
// if it's a livemark with a siteURI.
|
||||
var numNodes = 0;
|
||||
|
|
|
@ -118,14 +118,14 @@
|
|||
selection="link"/>
|
||||
<menuitem id="placesContext_openFolder:tabs"
|
||||
command="placesCmd_open:tabs"
|
||||
label="&cmd.open_tabs.label;"
|
||||
accesskey="&cmd.open_tabs.accesskey;"
|
||||
label="&cmd.open_all_in_tabs.label;"
|
||||
accesskey="&cmd.open_all_in_tabs.accesskey;"
|
||||
selectiontype="single"
|
||||
selection="folder"/>
|
||||
<menuitem id="placesContext_openLinks:tabs"
|
||||
command="placesCmd_open:tabs"
|
||||
label="&cmd.open_tabs.label;"
|
||||
accesskey="&cmd.open_tabs.accesskey;"
|
||||
label="&cmd.open_all_in_tabs.label;"
|
||||
accesskey="&cmd.open_all_in_tabs.accesskey;"
|
||||
selectiontype="multiple"
|
||||
selection="link"/>
|
||||
<menuseparator id="placesContext_openSeparator"/>
|
||||
|
|
|
@ -119,9 +119,9 @@
|
|||
"Open in a New Tab">
|
||||
<!ENTITY cmd.open_tab.accesskey
|
||||
"w">
|
||||
<!ENTITY cmd.open_tabs.label
|
||||
"Open in Tabs">
|
||||
<!ENTITY cmd.open_tabs.accesskey
|
||||
<!ENTITY cmd.open_all_in_tabs.label
|
||||
"Open All in Tabs">
|
||||
<!ENTITY cmd.open_all_in_tabs.accesskey
|
||||
"O">
|
||||
<!ENTITY cmd.show_infoWin.label
|
||||
"Properties">
|
||||
|
|
Загрузка…
Ссылка в новой задаче