Due to bug 1357841 we cannot put the help button as low as the spec desired (14px from the bottom). However the patch will reduce the bottom offset when the height of the window is low so as not to waste space. Ian Ferguson <xfergusi@gmail.com> contributed substantially to this patch. MozReview-Commit-ID: 4Dxa30RmSBZ
95 lines
3.1 KiB
XML
95 lines
3.1 KiB
XML
# 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/.
|
|
|
|
<!-- Advanced panel -->
|
|
|
|
<script type="application/javascript"
|
|
src="chrome://browser/content/preferences/in-content/advanced.js"/>
|
|
|
|
<preferences id="advancedPreferences" hidden="true" data-category="paneAdvanced">
|
|
<preference id="browser.preferences.advanced.selectedTabIndex"
|
|
name="browser.preferences.advanced.selectedTabIndex"
|
|
type="int"/>
|
|
|
|
<!-- Update tab -->
|
|
#ifdef MOZ_UPDATER
|
|
<preference id="app.update.enabled"
|
|
name="app.update.enabled"
|
|
type="bool"/>
|
|
<preference id="app.update.auto"
|
|
name="app.update.auto"
|
|
type="bool"/>
|
|
|
|
<preference id="app.update.disable_button.showUpdateHistory"
|
|
name="app.update.disable_button.showUpdateHistory"
|
|
type="bool"/>
|
|
|
|
#ifdef MOZ_MAINTENANCE_SERVICE
|
|
<preference id="app.update.service.enabled"
|
|
name="app.update.service.enabled"
|
|
type="bool"/>
|
|
#endif
|
|
#endif
|
|
|
|
<preference id="browser.search.update"
|
|
name="browser.search.update"
|
|
type="bool"/>
|
|
</preferences>
|
|
|
|
#ifdef HAVE_SHELL_SERVICE
|
|
<stringbundle id="bundleShell" src="chrome://browser/locale/shellservice.properties"/>
|
|
<stringbundle id="bundleBrand" src="chrome://branding/locale/brand.properties"/>
|
|
#endif
|
|
|
|
<hbox id="header-advanced"
|
|
class="header"
|
|
hidden="true"
|
|
data-category="paneAdvanced">
|
|
<label class="header-name" flex="1">&paneUpdates.title;</label>
|
|
</hbox>
|
|
|
|
<!-- Update -->
|
|
<groupbox id="updateApp" data-category="paneAdvanced" hidden="true">
|
|
<caption><label>&updateApplication.label;</label></caption>
|
|
<description>&updateApplication.description;</description>
|
|
<hbox align="start">
|
|
<vbox flex="1">
|
|
#ifdef MOZ_UPDATER
|
|
<radiogroup id="updateRadioGroup" align="start">
|
|
<radio id="autoDesktop"
|
|
value="auto"
|
|
label="&updateAuto2.label;"
|
|
accesskey="&updateAuto2.accesskey;"/>
|
|
<radio value="checkOnly"
|
|
label="&updateCheckChoose2.label;"
|
|
accesskey="&updateCheckChoose2.accesskey;"/>
|
|
<radio value="manual"
|
|
label="&updateManual2.label;"
|
|
accesskey="&updateManual2.accesskey;"/>
|
|
</radiogroup>
|
|
#ifdef MOZ_MAINTENANCE_SERVICE
|
|
<checkbox id="useService"
|
|
label="&useService.label;"
|
|
accesskey="&useService.accesskey;"
|
|
preference="app.update.service.enabled"/>
|
|
#endif
|
|
#endif
|
|
<checkbox id="enableSearchUpdate"
|
|
label="&enableSearchUpdate2.label;"
|
|
accesskey="&enableSearchUpdate2.accesskey;"
|
|
preference="browser.search.update"/>
|
|
</vbox>
|
|
#ifdef MOZ_UPDATER
|
|
<spacer flex="1"/>
|
|
<vbox>
|
|
<button id="showUpdateHistory"
|
|
class="accessory-button"
|
|
label="&updateHistory2.label;"
|
|
accesskey="&updateHistory2.accesskey;"
|
|
preference="app.update.disable_button.showUpdateHistory"/>
|
|
</vbox>
|
|
#endif
|
|
</hbox>
|
|
</groupbox>
|