2005-02-25 09:07:58 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
2005-09-13 18:40:56 +00:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
2005-02-25 09:07:58 +00:00
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2005-09-13 18:40:56 +00:00
|
|
|
#
|
2005-02-25 09:07:58 +00:00
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
2005-09-13 18:40:56 +00:00
|
|
|
#
|
2005-02-25 09:07:58 +00:00
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
2005-09-13 18:40:56 +00:00
|
|
|
#
|
2005-02-25 09:07:58 +00:00
|
|
|
# The Original Code is the Firefox Preferences System.
|
2005-09-13 18:40:56 +00:00
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Ben Goodger.
|
2005-02-25 09:07:58 +00:00
|
|
|
# Portions created by the Initial Developer are Copyright (C) 2005
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
2005-09-13 18:40:56 +00:00
|
|
|
#
|
2005-02-25 09:07:58 +00:00
|
|
|
# Contributor(s):
|
|
|
|
# Ben Goodger <ben@mozilla.org>
|
2005-09-13 18:40:56 +00:00
|
|
|
#
|
2005-02-25 09:07:58 +00:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
2005-09-13 18:40:56 +00:00
|
|
|
#
|
2005-02-25 09:07:58 +00:00
|
|
|
# ***** END LICENSE BLOCK *****
|
|
|
|
|
|
|
|
<!DOCTYPE overlay [
|
2005-03-10 18:44:11 +00:00
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
2005-02-25 09:07:58 +00:00
|
|
|
<!ENTITY % downloadsDTD SYSTEM "chrome://browser/locale/preferences/downloads.dtd">
|
|
|
|
%brandDTD;
|
|
|
|
%downloadsDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<overlay id="DownloadsPaneOverlay"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
|
2005-06-16 22:16:26 +00:00
|
|
|
<prefpane id="paneDownloads"
|
|
|
|
helpTopic="prefs-downloads" helpURI="chrome://browser/locale/help/help.rdf">
|
|
|
|
|
2005-02-25 09:07:58 +00:00
|
|
|
<preferences>
|
|
|
|
<preference id="browser.download.useDownloadDir" name="browser.download.useDownloadDir" type="bool"/>
|
|
|
|
<preference id="browser.download.folderList" name="browser.download.folderList" type="int"/>
|
|
|
|
<preference id="browser.download.downloadDir" name="browser.download.downloadDir" type="file"/>
|
2005-10-09 17:37:02 +00:00
|
|
|
<preference id="browser.download.dir"
|
|
|
|
name="browser.download.dir"
|
|
|
|
type="file"
|
|
|
|
onchange="gDownloadsPane.readDownloadDirPref();"/>
|
2005-02-25 09:07:58 +00:00
|
|
|
<preference id="browser.download.manager.showWhenStarting"
|
|
|
|
name="browser.download.manager.showWhenStarting"
|
|
|
|
type="bool"
|
|
|
|
onchange="gDownloadsPane.showWhenStartingPrefChanged();"/>
|
|
|
|
<preference id="browser.download.manager.closeWhenDone"
|
|
|
|
name="browser.download.manager.closeWhenDone"
|
|
|
|
type="bool"/>
|
|
|
|
<preference id="pref.downloads.disable_button.edit_actions"
|
|
|
|
name="pref.downloads.disable_button.edit_actions"
|
|
|
|
type="bool"/>
|
|
|
|
</preferences>
|
|
|
|
|
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/preferences/downloads.js"/>
|
|
|
|
|
|
|
|
<stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
|
|
|
|
|
|
|
|
<groupbox>
|
|
|
|
<caption label="&askOnSave.label;"/>
|
|
|
|
|
|
|
|
<radiogroup id="askOnSave" flex="1"
|
|
|
|
preference="browser.download.useDownloadDir"
|
2005-06-28 20:08:56 +00:00
|
|
|
onsyncfrompreference="return gDownloadsPane.onReadUseDownloadDir();">
|
2005-07-25 04:42:13 +00:00
|
|
|
<radio id="alwaysAsk" label="&alwaysAsk.label;"
|
|
|
|
accesskey="&alwaysAsk.accesskey;" value="false"/>
|
2005-02-25 09:07:58 +00:00
|
|
|
<vbox flex="1">
|
2005-07-25 04:42:13 +00:00
|
|
|
<radio id="neverAsk" label="&neverAsk.label;"
|
|
|
|
accesskey="&neverAsk.accesskey;" value="true"/>
|
2005-02-25 09:07:58 +00:00
|
|
|
<hbox class="indent" align="center">
|
|
|
|
<filefield id="downloadFolder" flex="1"
|
|
|
|
preference="browser.download.folderList"
|
|
|
|
preference-editable="true"
|
2005-06-28 20:08:56 +00:00
|
|
|
onsyncfrompreference="return gDownloadsPane.readDownloadDirPref();"
|
|
|
|
onsynctopreference="return gDownloadsPane.writeFolderList()"/>
|
2005-02-25 09:07:58 +00:00
|
|
|
<button id="chooseFolder" oncommand="gDownloadsPane.chooseFolder();"
|
|
|
|
preference="browser.download.folderList"
|
2005-06-28 20:08:56 +00:00
|
|
|
onsynctopreference="return gDownloadsPane.writeFolderList()"
|
2005-10-25 23:18:40 +00:00
|
|
|
#ifdef XP_MACOSX
|
2005-07-25 04:42:13 +00:00
|
|
|
accesskey="&chooseFolderMac.accesskey;"
|
2005-02-25 09:07:58 +00:00
|
|
|
label="&chooseFolderMac.label;"/>
|
|
|
|
#else
|
2005-07-25 04:42:13 +00:00
|
|
|
accesskey="&chooseFolderWin.accesskey;"
|
2005-02-25 09:07:58 +00:00
|
|
|
label="&chooseFolderWin.label;"/>
|
|
|
|
#endif
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</radiogroup>
|
|
|
|
</groupbox>
|
|
|
|
|
|
|
|
<groupbox align="start">
|
|
|
|
<caption label="&downloadManagerWindow.label;"/>
|
|
|
|
|
2005-07-25 04:42:13 +00:00
|
|
|
<checkbox id="showWhenStarting" label="&showWhenStarting.label;"
|
|
|
|
accesskey="&showWhenStarting.accesskey;"
|
2005-02-25 09:07:58 +00:00
|
|
|
preference="browser.download.manager.showWhenStarting"
|
2005-06-28 20:08:56 +00:00
|
|
|
onsyncfrompreference="return gDownloadsPane.readShowWhenStartingPref();"/>
|
2005-07-25 04:42:13 +00:00
|
|
|
<checkbox id="closeWhenDone" label="&closeWhenDone.label;"
|
|
|
|
accesskey="&closeWhenDone.accesskey;" class="indent"
|
2005-02-25 09:07:58 +00:00
|
|
|
preference="browser.download.manager.closeWhenDone"/>
|
|
|
|
</groupbox>
|
|
|
|
|
|
|
|
<groupbox>
|
|
|
|
<caption label="&fileTypes.label;"/>
|
|
|
|
|
2005-08-10 18:15:53 +00:00
|
|
|
<description control="configureActions">&fileTypesDescription.label;</description>
|
2005-02-25 09:07:58 +00:00
|
|
|
<separator class="thin"/>
|
|
|
|
<hbox>
|
2005-08-10 18:15:53 +00:00
|
|
|
<button id="configureActions" label="&configureActions.label;"
|
|
|
|
accesskey="&configureActions.accesskey;"
|
2005-02-25 09:07:58 +00:00
|
|
|
oncommand="gDownloadsPane.showFileTypeActions();"
|
|
|
|
preference="pref.downloads.disable_button.edit_actions"/>
|
|
|
|
</hbox>
|
|
|
|
</groupbox>
|
|
|
|
</prefpane>
|
|
|
|
|
|
|
|
</overlay>
|