Bug 203960: add a UI pref allowing the user to choose between "Add tabs" and "Replace existing tabs". r=Neil, sr=bryner

This commit is contained in:
jag%tty.nl 2006-05-17 02:36:24 +00:00
Родитель 1d36b602aa
Коммит 3090b2f479
2 изменённых файлов: 16 добавлений и 1 удалений

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

@ -36,7 +36,7 @@
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["tabStrip", "tabBackground", "middleClick", "urlBar"];
var _elementIDs = ["tabStrip", "tabBackground", "middleClick", "urlBar", "loadGroup"];
]]>
</script>
<groupbox id="generalTabPreferences" align="start">
@ -49,6 +49,16 @@
prefstring="browser.tabs.loadInBackground"/>
</groupbox>
<groupbox id="loadGroupPreferences" align="start">
<caption label="&loadGroup.label;"/>
<radiogroup id="loadGroup" prefstring="browser.tabs.loadGroup">
<radio value="0" label="&loadGroupAppend.label;"
accesskey="&loadGroupAppend.accesskey;"/>
<radio value="1" label="&loadGroupReplace.label;"
accesskey="&loadGroupReplace.accesskey;"/>
</radiogroup>
</groupbox>
<groupbox id="useTabPreferences" align="start">
<caption label="&openTabs.label;"/>
<checkbox id="middleClick"

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

@ -2,4 +2,9 @@
<!ENTITY tabDisplay.label "Tab Display">
<!ENTITY autoHide.label "Hide the tab bar when only one tab is open">
<!ENTITY background.label "Load links in the background">
<!ENTITY loadGroup.label "When opening a bookmark group">
<!ENTITY loadGroupAppend.label "Add tabs">
<!ENTITY loadGroupAppend.accesskey "A">
<!ENTITY loadGroupReplace.label "Replace existing tabs">
<!ENTITY loadGroupReplace.accesskey "R">
<!ENTITY openTabs.label "Open tabs instead of windows for">