Bug 688745 - Add 'Open in Browser' to context menu for Opening a Website from RSS. r=IanN moa=Mnyromyr

This commit is contained in:
Edmund Wong 2012-01-23 12:19:05 +08:00
Родитель 708e350a27
Коммит dd7b856b7d
2 изменённых файлов: 13 добавлений и 4 удалений

Просмотреть файл

@ -44,10 +44,12 @@
<!ENTITY CopyEmailAddress.accesskey "C">
<!ENTITY CreateFilterFrom.label "Create Filter From…">
<!ENTITY CreateFilterFrom.accesskey "F">
<!ENTITY copyLinkCmd.label "Copy Link Location">
<!ENTITY copyLinkCmd.accesskey "C">
<!ENTITY openInBrowser.label "Open in Browser">
<!ENTITY openInBrowser.accesskey "O">
<!ENTITY bookmarkLinkCmd.label "Bookmark This Link…">
<!ENTITY bookmarkLinkCmd.accesskey "B">
<!ENTITY copyLinkCmd.label "Copy Link Location">
<!ENTITY copyLinkCmd.accesskey "C">
<!ENTITY CopyMessageId.label "Copy Message-ID">
<!ENTITY CopyMessageId.accesskey "C">
<!ENTITY OpenMessageForMsgId.label "Open Message For ID">

Просмотреть файл

@ -133,8 +133,15 @@
</menupopup>
<menupopup id="copyUrlPopup">
<menuitem label="&copyLinkCmd.label;" accesskey="&copyLinkCmd.accesskey;" oncommand="CopyWebsiteAddress(document.popupNode);"/>
<menuitem label="&bookmarkLinkCmd.label;" accesskey="&bookmarkLinkCmd.accesskey;" oncommand="BookmarkWebsite(document.popupNode);"/>
<menuitem label="&openInBrowser.label;"
accesskey="&openInBrowser.accesskey;"
oncommand="openAsExternal(document.popupNode.getAttribute('value'));"/>
<menuitem label="&bookmarkLinkCmd.label;"
accesskey="&bookmarkLinkCmd.accesskey;"
oncommand="BookmarkWebsite(document.popupNode);"/>
<menuitem label="&copyLinkCmd.label;"
accesskey="&copyLinkCmd.accesskey;"
oncommand="CopyWebsiteAddress(document.popupNode);"/>
</menupopup>
<hbox id="msgHeaderView" keywordrelated="true" originalclass="none" persist="state">