mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
187 lines
7.7 KiB
XML
187 lines
7.7 KiB
XML
<?xml version="1.0"?>
|
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
<!DOCTYPE overlay [
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
|
<!ENTITY % mainDTD SYSTEM "chrome://browser/locale/preferences/main.dtd">
|
|
<!ENTITY % aboutHomeDTD SYSTEM "chrome://browser/locale/aboutHome.dtd">
|
|
%brandDTD;
|
|
%mainDTD;
|
|
%aboutHomeDTD;
|
|
]>
|
|
|
|
<overlay id="MainPaneOverlay"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<prefpane id="paneMain"
|
|
onpaneload="gMainPane.init();"
|
|
helpTopic="prefs-main">
|
|
|
|
<script type="application/javascript" src="chrome://browser/content/preferences/main.js"/>
|
|
|
|
<preferences id="mainPreferences">
|
|
<!-- XXX Button preferences -->
|
|
|
|
<!-- Startup -->
|
|
<preference id="browser.startup.page"
|
|
name="browser.startup.page"
|
|
type="int"/>
|
|
<preference id="browser.startup.homepage"
|
|
name="browser.startup.homepage"
|
|
type="wstring"/>
|
|
|
|
#ifdef HAVE_SHELL_SERVICE
|
|
<preference id="browser.shell.checkDefaultBrowser"
|
|
name="browser.shell.checkDefaultBrowser"
|
|
type="bool"/>
|
|
|
|
<preference id="pref.general.disable_button.default_browser"
|
|
name="pref.general.disable_button.default_browser"
|
|
type="bool"/>
|
|
#endif
|
|
|
|
<preference id="pref.browser.homepage.disable_button.current_page"
|
|
name="pref.browser.homepage.disable_button.current_page"
|
|
type="bool"/>
|
|
<preference id="pref.browser.homepage.disable_button.bookmark_page"
|
|
name="pref.browser.homepage.disable_button.bookmark_page"
|
|
type="bool"/>
|
|
<preference id="pref.browser.homepage.disable_button.restore_default"
|
|
name="pref.browser.homepage.disable_button.restore_default"
|
|
type="bool"/>
|
|
|
|
<preference id="browser.privatebrowsing.autostart"
|
|
name="browser.privatebrowsing.autostart"
|
|
type="bool"
|
|
onchange="gMainPane.updateBrowserStartupLastSession();"/>
|
|
|
|
<!-- Downloads -->
|
|
<preference id="browser.download.useDownloadDir"
|
|
name="browser.download.useDownloadDir"
|
|
type="bool"/>
|
|
<preference id="browser.download.dir"
|
|
name="browser.download.dir"
|
|
type="file"
|
|
onchange="gMainPane.displayDownloadDirPref();"/>
|
|
<preference id="browser.download.folderList" name="browser.download.folderList" type="int"/>
|
|
|
|
</preferences>
|
|
|
|
<stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
|
|
|
|
<!-- Startup -->
|
|
<groupbox id="startupGroup">
|
|
<caption label="&startup.label;"/>
|
|
|
|
#ifdef MOZ_DEV_EDITION
|
|
<vbox id="separateProfileBox">
|
|
<checkbox id="separateProfileMode"
|
|
label="&separateProfileMode.label;"/>
|
|
<hbox align="center" class="indent">
|
|
<label id="useFirefoxSync">&useFirefoxSync.label;</label>
|
|
<label id="getStarted" class="text-link">&getStarted.label;</label>
|
|
</hbox>
|
|
</vbox>
|
|
#endif
|
|
|
|
#ifdef HAVE_SHELL_SERVICE
|
|
<vbox id="defaultBrowserBox">
|
|
<hbox align="center">
|
|
<checkbox id="alwaysCheckDefault" preference="browser.shell.checkDefaultBrowser"
|
|
label="&alwaysCheckDefault2.label;" accesskey="&alwaysCheckDefault2.accesskey;"/>
|
|
</hbox>
|
|
<deck id="setDefaultPane">
|
|
<hbox align="center" class="indent">
|
|
<label id="isNotDefaultLabel" flex="1">&isNotDefault.label;</label>
|
|
<button id="setDefaultButton"
|
|
label="&setAsMyDefaultBrowser2.label;" accesskey="&setAsMyDefaultBrowser2.accesskey;"
|
|
oncommand="gMainPane.setDefaultBrowser();"
|
|
preference="pref.general.disable_button.default_browser"/>
|
|
</hbox>
|
|
<hbox align="center" class="indent">
|
|
<label id="isDefaultLabel" flex="1">&isDefault.label;</label>
|
|
</hbox>
|
|
</deck>
|
|
<separator class="thin"/>
|
|
</vbox>
|
|
#endif
|
|
<hbox align="center">
|
|
<label value="&startupPage.label;" accesskey="&startupPage.accesskey;"
|
|
control="browserStartupPage"/>
|
|
<menulist id="browserStartupPage" preference="browser.startup.page">
|
|
<menupopup>
|
|
<menuitem label="&startupHomePage.label;" value="1" id="browserStartupHomePage"/>
|
|
<menuitem label="&startupBlankPage.label;" value="0" id="browserStartupBlank"/>
|
|
<menuitem label="&startupLastSession.label;" value="3" id="browserStartupLastSession"/>
|
|
</menupopup>
|
|
</menulist>
|
|
</hbox>
|
|
<separator class="thin"/>
|
|
<hbox align="center">
|
|
<label value="&homepage.label;" accesskey="&homepage.accesskey;" control="browserHomePage"/>
|
|
<textbox id="browserHomePage" class="padded uri-element" flex="1"
|
|
type="autocomplete" autocompletesearch="history"
|
|
onsyncfrompreference="return gMainPane.syncFromHomePref();"
|
|
onsynctopreference="return gMainPane.syncToHomePref(this.value);"
|
|
placeholder="&abouthome.pageTitle;"
|
|
preference="browser.startup.homepage"/>
|
|
</hbox>
|
|
<hbox align="center" pack="end">
|
|
<button label="" accesskey="&useCurrentPage.accesskey;"
|
|
label1="&useCurrentPage.label;"
|
|
label2="&useMultiple.label;"
|
|
oncommand="gMainPane.setHomePageToCurrent();"
|
|
id="useCurrent"
|
|
preference="pref.browser.homepage.disable_button.current_page"/>
|
|
<button label="&chooseBookmark.label;" accesskey="&chooseBookmark.accesskey;"
|
|
oncommand="gMainPane.setHomePageToBookmark();"
|
|
id="useBookmark"
|
|
preference="pref.browser.homepage.disable_button.bookmark_page"/>
|
|
<button label="&restoreDefault.label;" accesskey="&restoreDefault.accesskey;"
|
|
oncommand="gMainPane.restoreDefaultHomePage();"
|
|
id="restoreDefaultHomePage"
|
|
preference="pref.browser.homepage.disable_button.restore_default"/>
|
|
</hbox>
|
|
</groupbox>
|
|
|
|
<!-- Downloads -->
|
|
<groupbox id="downloadsGroup">
|
|
<caption label="&downloads.label;"/>
|
|
|
|
<radiogroup id="saveWhere"
|
|
preference="browser.download.useDownloadDir"
|
|
onsyncfrompreference="return gMainPane.readUseDownloadDir();">
|
|
<hbox id="saveToRow">
|
|
<radio id="saveTo" value="true"
|
|
label="&saveTo.label;"
|
|
accesskey="&saveTo.accesskey;"
|
|
aria-labelledby="saveTo downloadFolder"/>
|
|
<filefield id="downloadFolder" flex="1"
|
|
preference="browser.download.folderList"
|
|
preference-editable="true"
|
|
aria-labelledby="saveTo"
|
|
onsyncfrompreference="return gMainPane.displayDownloadDirPref();"/>
|
|
<button id="chooseFolder" oncommand="gMainPane.chooseFolder();"
|
|
#ifdef XP_MACOSX
|
|
accesskey="&chooseFolderMac.accesskey;"
|
|
label="&chooseFolderMac.label;"
|
|
#else
|
|
accesskey="&chooseFolderWin.accesskey;"
|
|
label="&chooseFolderWin.label;"
|
|
#endif
|
|
/>
|
|
</hbox>
|
|
<radio id="alwaysAsk" value="false"
|
|
label="&alwaysAsk.label;"
|
|
accesskey="&alwaysAsk.accesskey;"/>
|
|
</radiogroup>
|
|
</groupbox>
|
|
|
|
</prefpane>
|
|
|
|
</overlay>
|