mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
283610 - load tabs in background checkbox is inverted
This commit is contained in:
parent
e972bbc8e6
commit
718a7c782c
@ -51,7 +51,7 @@
|
||||
<preference id="browser.link.open_external" name="browser.link.open_external" type="int"/>
|
||||
<preference id="browser.link.open_newwindow" name="browser.link.open_newwindow" type="int"/>
|
||||
<preference id="browser.tabs.autoHide" name="browser.tabs.autoHide" type="bool"/>
|
||||
<preference id="browser.tabs.loadInBackground" name="browser.tabs.loadInBackground" type="bool"/>
|
||||
<preference id="browser.tabs.loadInBackground" name="browser.tabs.loadInBackground" type="bool" inverted="true"/>
|
||||
<preference id="browser.tabs.warnOnClose" name="browser.tabs.warnOnClose" type="bool"/>
|
||||
</preferences>
|
||||
|
||||
@ -81,7 +81,7 @@
|
||||
<checkbox id="hideTabBar" label="&hideTabBar.label;"
|
||||
preference="browser.tabs.autoHide"/>
|
||||
<checkbox id="loadInBackground" label="&loadInBackground.label;"
|
||||
preference="browser.tabs.loadInBackground" reversed="true"/>
|
||||
preference="browser.tabs.loadInBackground"/>
|
||||
<checkbox id="warnOnClose" label="&warnOnClose.label;"
|
||||
preference="browser.tabs.warnOnClose"/>
|
||||
</vbox>
|
||||
|
@ -213,7 +213,8 @@
|
||||
case "int":
|
||||
return this._branch.getIntPref(this.name);
|
||||
case "bool":
|
||||
return this._branch.getBoolPref(this.name);
|
||||
var val = this._branch.getBoolPref(this.name);
|
||||
return this.inverted ? !val : val;
|
||||
case "string":
|
||||
return this._branch.getCharPref(this.name);
|
||||
case "wstring":
|
||||
|
Loading…
Reference in New Issue
Block a user