mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1017874 - Switch to "General" page on load to initialize the help link. r=jaws
This commit is contained in:
parent
1525738eae
commit
66d90b3490
@ -89,13 +89,16 @@
|
||||
|
||||
<hbox id="header-general"
|
||||
class="header"
|
||||
hidden="true"
|
||||
data-category="paneGeneral">
|
||||
<image class="header-icon"/>
|
||||
<label class="header-name">&paneGeneral.title;</label>
|
||||
</hbox>
|
||||
|
||||
<!-- Startup -->
|
||||
<groupbox id="startupGroup" data-category="paneGeneral">
|
||||
<groupbox id="startupGroup"
|
||||
data-category="paneGeneral"
|
||||
hidden="true">
|
||||
<caption><label>&startup.label;</label></caption>
|
||||
|
||||
<hbox align="center">
|
||||
@ -152,7 +155,9 @@
|
||||
</groupbox>
|
||||
|
||||
<!-- Downloads -->
|
||||
<groupbox id="downloadsGroup" data-category="paneGeneral">
|
||||
<groupbox id="downloadsGroup"
|
||||
data-category="paneGeneral"
|
||||
hidden="true">
|
||||
<caption><label>&downloads.label;</label></caption>
|
||||
|
||||
<radiogroup id="saveWhere"
|
||||
@ -191,7 +196,8 @@
|
||||
</groupbox>
|
||||
|
||||
<!-- Tab preferences -->
|
||||
<groupbox data-category="paneGeneral">
|
||||
<groupbox data-category="paneGeneral"
|
||||
hidden="true">
|
||||
<caption><label>&tabsGroup.label;</label></caption>
|
||||
<checkbox id="linkTargeting" label="&newWindowsAsTabs.label;"
|
||||
accesskey="&newWindowsAsTabs.accesskey;"
|
||||
|
@ -32,6 +32,8 @@ function init_all() {
|
||||
|
||||
let categories = document.getElementById("categories");
|
||||
categories.addEventListener("select", event => gotoPref(event.target.value));
|
||||
|
||||
gotoPref("paneGeneral");
|
||||
}
|
||||
|
||||
function selectCategory(name) {
|
||||
|
Loading…
Reference in New Issue
Block a user