Bug 191818 File menu missing "Close other tabs" option r=shliang sr=jag a=asa

This commit is contained in:
neil%parkwaycc.co.uk 2007-03-31 23:07:30 +00:00
Родитель 2fcb01053d
Коммит ea7dc6d39e
2 изменённых файлов: 18 добавлений и 10 удалений

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

@ -592,17 +592,9 @@
<![CDATA[
this.mStrip.collapsed = !aShow;
if (aShow) {
// XXXdwh temporary unclean dependency on specific menu items in navigator.xul
document.getElementById("menu_closeWindow").hidden = false;
document.getElementById("menu_close").setAttribute("label", this.mStringBundle.getString("tabs.closeTab"));
if (!this.mTabbedMode)
this.enterTabbedMode();
}
else {
// XXXdwh temporary unclean dependency on specific menu items in navigator.xul
document.getElementById("menu_closeWindow").hidden = true;
document.getElementById("menu_close").setAttribute("label", this.mStringBundle.getString("tabs.close"));
}
]]>
</body>
</method>
@ -718,6 +710,24 @@
</body>
</method>
<method name="removeAllTabsBut">
<parameter name="aTab"/>
<body>
<![CDATA[
if (aTab.localName != "tab")
aTab = this.mCurrentTab;
else
this.mTabContainer.selectedItem = aTab;
while (this.mTabContainer.lastChild != aTab)
this.removeTab(this.mTabContainer.lastChild);
while (aTab.previousSibling)
this.removeTab(aTab.previousSibling);
]]>
</body>
</method>
<method name="removeCurrentTab">
<body>
<![CDATA[

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

@ -1,7 +1,5 @@
tabs.loading=Loading...
tabs.untitled=(Untitled)
tabs.closeTab=Close Tab
tabs.close=Close
browsewithcaret.checkMsg=Do not show me this dialog box again.
browsewithcaret.checkWindowTitle=Caret Browsing
browsewithcaret.checkLabel=Pressing F7 turns Caret Browsing on or off. This feature places a moveable cursor in web pages, allowing you to select text with the keyboard. Do you want to turn Caret Browsing on?