зеркало из https://github.com/mozilla/gecko-dev.git
Bug 325772: remove unused files, r=mconnor
This commit is contained in:
Родитель
7f7a847f6a
Коммит
f4e69ea5a2
Двоичные данные
browser/themes/pinstripe/browser/pref/Options.png
Двоичные данные
browser/themes/pinstripe/browser/pref/Options.png
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 10 KiB |
|
@ -1,199 +0,0 @@
|
|||
/*
|
||||
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The Original Code is Mozilla.org Code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Doron Rosenberg.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2001
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Ben Goodger <ben@netscape.com> (Original Author)
|
||||
# Kevin Gerich (webmail@kmgerich.com)
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
page {
|
||||
font: menu;
|
||||
}
|
||||
|
||||
page description {
|
||||
font-size: 95%;
|
||||
}
|
||||
|
||||
page button {
|
||||
-moz-appearance: button-small;
|
||||
font: message-box;
|
||||
}
|
||||
|
||||
#pref-navigator {
|
||||
font: menu !important;
|
||||
}
|
||||
|
||||
.listBox {
|
||||
-moz-appearance: none;
|
||||
margin: 2px 4px;
|
||||
background: none;
|
||||
border-top: 1px solid #A1A1A1;
|
||||
border-right: 1px solid #C3C3C3;
|
||||
border-bottom: 1px solid #DDDDDD;
|
||||
border-left: 1px solid #C3C3C3;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
|
||||
.buttonBox {
|
||||
margin: 0px 5px 0px 0px !important;
|
||||
-moz-border-left-colors: transparent;
|
||||
-moz-border-bottom-colors: transparent;
|
||||
-moz-border-top-colors: transparent;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
#prefsCategories {
|
||||
-moz-border-right-colors: #A7A7A7;
|
||||
}
|
||||
|
||||
.buttonBoxButton {
|
||||
-moz-appearance: none;
|
||||
border: none;
|
||||
list-style-image: url("chrome://browser/skin/pref/Options.png");
|
||||
margin: 0px 0px;
|
||||
padding: 6px 4px;
|
||||
background-image: none;
|
||||
border-top: 1px solid transparent;
|
||||
border-bottom: 1px solid transparent;
|
||||
border-left: 1px solid transparent;
|
||||
font: icon;
|
||||
}
|
||||
|
||||
.buttonBoxButton > .button-box {
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.buttonBoxButton > .button-box > .button-icon {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.buttonBoxButton[checked="true"] {
|
||||
border: none;
|
||||
background: url("chrome://global/skin/10pct_transparent_pixel.png") repeat;
|
||||
border-top: 1px solid #A7A7A7;
|
||||
border-bottom: 1px solid #A7A7A7;
|
||||
border-left: 1px solid #A7A7A7;
|
||||
|
||||
}
|
||||
|
||||
#catGeneralButton {-moz-image-region: rect(0px, 32px, 32px, 0px)}
|
||||
#catPrivacyButton {-moz-image-region: rect(0px, 64px, 32px, 32px)}
|
||||
#catFeaturesbutton {-moz-image-region: rect(0px, 96px, 32px, 64px)}
|
||||
#catThemesButton {-moz-image-region: rect(0px, 128px, 32px, 96px)}
|
||||
#catExtButton {-moz-image-region: rect(0px, 160px, 32px, 128px)}
|
||||
#catAdvancedButton {-moz-image-region: rect(0px, 192px, 32px, 160px)}
|
||||
#catDownloadsButton {-moz-image-region: rect(0px, 224px, 32px, 192px)}
|
||||
|
||||
.indent {
|
||||
margin-left: 23px;
|
||||
margin-right: 23px;
|
||||
}
|
||||
|
||||
.uniWidthButton {
|
||||
min-width: 8em;
|
||||
}
|
||||
|
||||
/** Privacy Panel Expander Box **/
|
||||
#privacyCategories {
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.settingsContainer {
|
||||
padding: 3px 5px 5px 20px;
|
||||
}
|
||||
|
||||
.expanderButton {
|
||||
cursor: default;
|
||||
-moz-appearance: treetwisty;
|
||||
width: 10px; /* The image's width is 10 pixels */
|
||||
font-weight: bold;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
.expanderButton:hover:active,
|
||||
.expanderButton[open="true"]:hover:active {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
expander {
|
||||
border: 1px solid #a3a3a3;
|
||||
margin: 0px 0px 3px 0px;
|
||||
}
|
||||
|
||||
.expanderButton[open="true"] {
|
||||
-moz-appearance: treetwistyopen;
|
||||
}
|
||||
|
||||
.header {
|
||||
-moz-appearance: none !important;
|
||||
margin: 6px;
|
||||
}
|
||||
|
||||
/* Themes/Extensions Items */
|
||||
.themesLink {
|
||||
margin-left: 5px;
|
||||
text-decoration: underline;
|
||||
color: blue;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.themesLink:active {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#previewImageContainer {
|
||||
height: 93px;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
#previewImage {
|
||||
max-width: 355px;
|
||||
min-width: 355px;
|
||||
max-height: 85px;
|
||||
min-height: 85px;
|
||||
}
|
||||
|
||||
.extensionInfoArea {
|
||||
background-color: -moz-Field !important;
|
||||
height: 10em;
|
||||
}
|
||||
|
||||
button {
|
||||
-moz-appearance: button-small;
|
||||
}
|
|
@ -1,13 +0,0 @@
|
|||
<!ENTITY changeAction.title "Change Action">
|
||||
|
||||
<!ENTITY whenDownloading.label "When downloading files of type:">
|
||||
<!ENTITY always.label "automatically:">
|
||||
|
||||
<!ENTITY openDefault.label "Open them in the Default application:">
|
||||
<!ENTITY openApplication.label "Open them in this application:">
|
||||
<!ENTITY changeApp.label "Change...">
|
||||
<!ENTITY changeApp.accesskey "c">
|
||||
<!ENTITY customAppPath.label "Click 'Change ...' to choose an application.">
|
||||
<!ENTITY saveToDisk.label "Save to Disk">
|
||||
|
||||
<!ENTITY changeAppWindowTitle.label "Choose Application...">
|
|
@ -67,7 +67,6 @@
|
|||
% locale mozapps @AB_CD@ %locale/@AB_CD@/mozapps/
|
||||
* locale/@AB_CD@/mozapps/downloads/unknownContentType.properties (%chrome/mozapps/downloads/unknownContentType.properties)
|
||||
* locale/@AB_CD@/mozapps/downloads/unknownContentType.dtd (%chrome/mozapps/downloads/unknownContentType.dtd)
|
||||
locale/@AB_CD@/mozapps/downloads/editAction.dtd (%chrome/mozapps/downloads/editAction.dtd)
|
||||
locale/@AB_CD@/mozapps/downloads/downloads.dtd (%chrome/mozapps/downloads/downloads.dtd)
|
||||
locale/@AB_CD@/mozapps/downloads/downloads.properties (%chrome/mozapps/downloads/downloads.properties)
|
||||
locale/@AB_CD@/mozapps/downloads/downloadProperties.dtd (%chrome/mozapps/downloads/downloadProperties.dtd)
|
||||
|
|
|
@ -1,242 +0,0 @@
|
|||
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The Original Code is Mozilla.org Code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Doron Rosenberg.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2001
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Ben Goodger <ben@bengoodger.com>
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
|
||||
var gRDF, gItemRes, gHelperApps;
|
||||
var gNC_URI;
|
||||
var gHandlerRes, gExtAppRes;
|
||||
|
||||
var gLastSelectedActionItem = null;
|
||||
|
||||
function init()
|
||||
{
|
||||
gRDF = window.opener.gRDF;
|
||||
gItemRes = window.arguments[0];
|
||||
|
||||
gHelperApps = window.opener.gHelperApps;
|
||||
gHandlerPropArc = gHelperApps._handlerPropArc;
|
||||
gExternalAppArc = gHelperApps._externalAppArc;
|
||||
gFileHandlerArc = gHelperApps._fileHandlerArc;
|
||||
|
||||
gNC_URI = window.opener.NC_URI;
|
||||
|
||||
var typeField = document.getElementById("typeField");
|
||||
var str = gHelperApps.getLiteralValue(gItemRes.Value, "FileType");
|
||||
// XXXben localize!
|
||||
str += " (" + gHelperApps.getLiteralValue(gItemRes.Value, "FileExtensions") + ")";
|
||||
typeField.value = str;
|
||||
var typeIcon = document.getElementById("typeIcon");
|
||||
typeIcon.src = gHelperApps.getLiteralValue(gItemRes.Value, "FileIcon");
|
||||
|
||||
var handlerGroup = document.getElementById("handlerGroup");
|
||||
|
||||
gHandlerRes = gHelperApps.GetTarget(gItemRes, gHandlerPropArc, true);
|
||||
if (gHandlerRes) {
|
||||
gHandlerRes = gHandlerRes.QueryInterface(Components.interfaces.nsIRDFResource);
|
||||
|
||||
// Custom App Handler Path - this must be set before we set the selected
|
||||
// radio button because the selection event handler for the radio group
|
||||
// requires the extapp handler field to be non-empty for the extapp radio
|
||||
// button to be selected.
|
||||
var gExtAppRes = gHelperApps.GetTarget(gHandlerRes, gExternalAppArc, true);
|
||||
if (gExtAppRes) {
|
||||
gExtAppRes = gExtAppRes.QueryInterface(Components.interfaces.nsIRDFResource);
|
||||
|
||||
var customAppPath = document.getElementById("customAppPath");
|
||||
customAppPath.value = gHelperApps.getLiteralValue(gExtAppRes.Value, "path");
|
||||
}
|
||||
|
||||
// Selected Action Radiogroup
|
||||
var handleInternal = gHelperApps.getLiteralValue(gHandlerRes.Value, "useSystemDefault");
|
||||
var saveToDisk = gHelperApps.getLiteralValue(gHandlerRes.Value, "saveToDisk");
|
||||
if (handleInternal == "true")
|
||||
handlerGroup.selectedItem = document.getElementById("openDefault");
|
||||
else if (saveToDisk == "true")
|
||||
handlerGroup.selectedItem = document.getElementById("saveToDisk");
|
||||
else
|
||||
handlerGroup.selectedItem = document.getElementById("openApplication");
|
||||
|
||||
gLastSelectedActionItem = handlerGroup.selectedItem;
|
||||
}
|
||||
else {
|
||||
// No Handler/ExtApp Resources for this type for some reason
|
||||
handlerGroup.selectedItem = document.getElementById("openDefault");
|
||||
}
|
||||
|
||||
var defaultAppName = document.getElementById("defaultAppName");
|
||||
var mimeInfo = gHelperApps.getMIMEInfo(gItemRes);
|
||||
defaultAppName.value = mimeInfo.defaultDescription;
|
||||
|
||||
handlerGroup.focus();
|
||||
|
||||
// We don't let users open .exe files or random binary data directly
|
||||
// from the browser at the moment because of security concerns.
|
||||
var mimeType = mimeInfo.MIMEType;
|
||||
if (mimeType == "application/object-stream" ||
|
||||
mimeType == "application/x-msdownload") {
|
||||
document.getElementById("openApplication").disabled = true;
|
||||
document.getElementById("openDefault").disabled = true;
|
||||
handlerGroup.selectedItem = document.getElementById("saveToDisk");
|
||||
}
|
||||
|
||||
var x = document.documentElement.getAttribute("screenX");
|
||||
if (x == "")
|
||||
setTimeout(centerOverParent, 0);
|
||||
}
|
||||
|
||||
function setLiteralValue(aResource, aProperty, aValue)
|
||||
{
|
||||
var prop = gRDF.GetResource(gNC_URI(aProperty));
|
||||
var val = gRDF.GetLiteral(aValue);
|
||||
var oldVal = gHelperApps.GetTarget(aResource, prop, true);
|
||||
if (oldVal)
|
||||
gHelperApps.Change(aResource, prop, oldVal, val);
|
||||
else
|
||||
gHelperApps.Assert(aResource, prop, val, true);
|
||||
}
|
||||
|
||||
function onAccept()
|
||||
{
|
||||
var dirty = false;
|
||||
|
||||
if (gHandlerRes) {
|
||||
var handlerGroup = document.getElementById("handlerGroup");
|
||||
var value = handlerGroup.selectedItem.getAttribute("value");
|
||||
switch (value) {
|
||||
case "system":
|
||||
setLiteralValue(gHandlerRes, "saveToDisk", "false");
|
||||
setLiteralValue(gHandlerRes, "useSystemDefault", "true");
|
||||
break;
|
||||
case "app":
|
||||
setLiteralValue(gHandlerRes, "saveToDisk", "false");
|
||||
setLiteralValue(gHandlerRes, "useSystemDefault", "false");
|
||||
break;
|
||||
case "save":
|
||||
setLiteralValue(gHandlerRes, "saveToDisk", "true");
|
||||
setLiteralValue(gHandlerRes, "useSystemDefault", "false");
|
||||
break;
|
||||
}
|
||||
|
||||
dirty = true;
|
||||
}
|
||||
|
||||
if (gExtAppRes) {
|
||||
var customAppPath = document.getElementById("customAppPath");
|
||||
if (customAppPath.value != "") {
|
||||
setLiteralValue(gExtAppRes, "path", customAppPath.value);
|
||||
setLiteralValue(gExtAppRes, "prettyName", customAppPath.getAttribute("prettyName"));
|
||||
}
|
||||
|
||||
dirty = true;
|
||||
}
|
||||
|
||||
if (dirty) {
|
||||
gHelperApps.flush();
|
||||
|
||||
// Get the template builder to refresh the display by announcing our imaginary
|
||||
// "FileHandler" property has been updated. (NC:FileHandler is a property
|
||||
// that our wrapper DS uses, its value is built dynamically based on real
|
||||
// values of other properties.
|
||||
var newHandler = gHelperApps.GetTarget(gItemRes, gFileHandlerArc, true);
|
||||
gHelperApps.onChange(gHelperApps, gItemRes, gFileHandlerArc, newHandler);
|
||||
|
||||
// ... this doesn't seem to work, so...
|
||||
var fileHandlersList = window.opener.document.getElementById("fileHandlersList");
|
||||
fileHandlersList.builder.rebuild();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function centerOverParent()
|
||||
{
|
||||
var parent = window.opener;
|
||||
|
||||
x = parent.screenX + (parent.outerWidth / 2) - (window.outerWidth / 2);
|
||||
y = parent.screenY + (parent.outerHeight / 2) - (window.outerHeight / 2);
|
||||
window.moveTo(x, y);
|
||||
}
|
||||
|
||||
function doEnabling(aSelectedItem)
|
||||
{
|
||||
if (aSelectedItem.id == "openApplication") {
|
||||
var customAppPath = document.getElementById("customAppPath")
|
||||
customAppPath.disabled = false;
|
||||
document.getElementById("changeApp").disabled = false;
|
||||
|
||||
if (customAppPath.value == "" && !changeApp()) {
|
||||
gLastSelectedActionItem.click();
|
||||
return;
|
||||
}
|
||||
}
|
||||
else {
|
||||
document.getElementById("customAppPath").disabled = true;
|
||||
document.getElementById("changeApp").disabled = true;
|
||||
}
|
||||
|
||||
gLastSelectedActionItem = aSelectedItem;
|
||||
}
|
||||
|
||||
function changeApp()
|
||||
{
|
||||
const nsIFilePicker = Components.interfaces.nsIFilePicker;
|
||||
var fp = Components.classes["@mozilla.org/filepicker;1"].createInstance(nsIFilePicker);
|
||||
|
||||
// extract the window title
|
||||
var winTitle = document.getElementById('changeApp').getAttribute('filepickertitle');
|
||||
fp.init(window, winTitle, nsIFilePicker.modeOpen);
|
||||
|
||||
fp.appendFilters(nsIFilePicker.filterApps);
|
||||
if (fp.show() == nsIFilePicker.returnOK && fp.file) {
|
||||
var customAppPath = document.getElementById("customAppPath");
|
||||
customAppPath.value = fp.file.path;
|
||||
|
||||
var ioService = Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService);
|
||||
var uri = ioService.newFileURI(fp.file);
|
||||
var url = uri.QueryInterface(Components.interfaces.nsIURL);
|
||||
customAppPath.setAttribute("prettyName", url.fileName);
|
||||
|
||||
var mimeInfo = gHelperApps.getMIMEInfo(gItemRes);
|
||||
gExtAppRes = gRDF.GetResource("urn:mimetype:externalApplication:" + mimeInfo.MIMEType);
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
|
@ -1,93 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The Original Code is Mozilla.org Code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Doron Rosenberg.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2001
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Ben Goodger <ben@bengoodger.com>
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/"?>
|
||||
<?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
|
||||
|
||||
<!DOCTYPE window SYSTEM "chrome://mozapps/locale/downloads/editAction.dtd">
|
||||
|
||||
<dialog id="editAction" title="&changeAction.title;"
|
||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="init();" ondialogaccept="onAccept();" style="width: 36em;"
|
||||
persist="screenX screenY">
|
||||
|
||||
<script type="application/x-javascript" src="chrome://mozapps/content/downloads/editAction.js"/>
|
||||
|
||||
<groupbox>
|
||||
<caption label="&whenDownloading.label;"/>
|
||||
|
||||
<separator class="thin"/>
|
||||
|
||||
<hbox align="center" class="small-indent">
|
||||
<image id="typeIcon"/>
|
||||
<textbox id="typeField" class="plain" readonly="true" flex="1"/>
|
||||
</hbox>
|
||||
<separator/>
|
||||
|
||||
<label>&always.label;</label>
|
||||
|
||||
<vbox class="small-indent" flex="1">
|
||||
|
||||
<radiogroup id="handlerGroup" onselect="doEnabling(this.selectedItem);" flex="1">
|
||||
<separator class="thin"/>
|
||||
<radio id="openDefault" value="system" label="&openDefault.label;"/>
|
||||
<hbox class="biggerIndent">
|
||||
<textbox id="defaultAppName" class="plain" readonly="true" flex="1"/>
|
||||
</hbox>
|
||||
<separator class="thin"/>
|
||||
<radio id="openApplication" value="app" label="&openApplication.label;"/>
|
||||
<hbox align="center" class="biggerIndent">
|
||||
<textbox id="customAppPath" readonly="true" flex="1"/>
|
||||
<button id="changeApp" oncommand="changeApp();"
|
||||
label="&changeApp.label;" filepickertitle="&changeAppWindowTitle.label;" accesskey="&changeApp.accesskey;"/>
|
||||
</hbox>
|
||||
<separator class="thin"/>
|
||||
<radio id="saveToDisk" value="save" label="&saveToDisk.label;"/>
|
||||
</radiogroup>
|
||||
<separator/>
|
||||
</vbox>
|
||||
|
||||
</groupbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
|
||||
</dialog>
|
||||
|
||||
|
|
@ -3,8 +3,6 @@ toolkit.jar:
|
|||
* content/mozapps/downloads/helperApps.js (downloads/content/helperApps.js)
|
||||
* content/mozapps/downloads/unknownContentType.xul (downloads/content/unknownContentType.xul)
|
||||
* content/mozapps/downloads/overrideHandler.js (downloads/content/overrideHandler.js)
|
||||
* content/mozapps/downloads/editAction.xul (downloads/content/editAction.xul)
|
||||
* content/mozapps/downloads/editAction.js (downloads/content/editAction.js)
|
||||
* content/mozapps/downloads/downloads.xul (downloads/content/downloads.xul)
|
||||
* content/mozapps/downloads/downloads.js (downloads/content/downloads.js)
|
||||
* content/mozapps/downloads/DownloadProgressListener.js (downloads/content/DownloadProgressListener.js)
|
||||
|
|
|
@ -15,9 +15,6 @@ classic.jar:
|
|||
skin/classic/mozapps/extensions/extensions.css (extensions/extensions.css)
|
||||
skin/classic/mozapps/extensions/update.css (extensions/update.css)
|
||||
skin/classic/mozapps/plugins/missingPlugin.css (plugins/missingPlugin.css)
|
||||
skin/classic/mozapps/pref/check.gif (pref/check.gif)
|
||||
skin/classic/mozapps/pref/dot.gif (pref/dot.gif)
|
||||
skin/classic/mozapps/pref/pref.css (pref/pref.css)
|
||||
skin/classic/mozapps/profile/profileicon.png (profile/profileicon.png)
|
||||
skin/classic/mozapps/profile/profileSelection.css (profile/profileSelection.css)
|
||||
skin/classic/mozapps/shared/itemFader.png (shared/itemFader.png)
|
||||
|
|
Двоичные данные
toolkit/themes/pinstripe/mozapps/pref/check.gif
Двоичные данные
toolkit/themes/pinstripe/mozapps/pref/check.gif
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 103 B |
Двоичные данные
toolkit/themes/pinstripe/mozapps/pref/dot.gif
Двоичные данные
toolkit/themes/pinstripe/mozapps/pref/dot.gif
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 65 B |
|
@ -1,105 +0,0 @@
|
|||
/*
|
||||
# -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The Original Code is Mozilla.org Code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Doron Rosenberg.
|
||||
# Portions created by the Initial Developer are Copyright (C) 2001
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
# Ben Goodger <ben@netscape.com> (Original Author)
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
.listBox {
|
||||
margin: 2px 4px;
|
||||
border-top: 1px solid #A1A1A1 !important;
|
||||
border-right: 1px solid #C3C3C3 !important;
|
||||
border-bottom: 1px solid #DDDDDD !important;
|
||||
border-left: 1px solid #C3C3C3 !important;
|
||||
background-color: #FFFFFF;
|
||||
color: -moz-FieldText;
|
||||
}
|
||||
|
||||
.indent {
|
||||
margin-left: 23px;
|
||||
margin-right: 23px;
|
||||
}
|
||||
|
||||
.small-indent {
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
.uniWidthButton {
|
||||
min-width: 8em;
|
||||
}
|
||||
|
||||
/** Privacy/Advanced Panels Expander Boxes **/
|
||||
.settingsBox {
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#fileExtension {
|
||||
width: 5em;
|
||||
}
|
||||
|
||||
#fileExtension.pluginsList {
|
||||
width: 5.5em;
|
||||
}
|
||||
|
||||
#typeIcon,
|
||||
.extensionChildren::-moz-tree-image(fileExtension),
|
||||
.pluginTypesChildren::-moz-tree-image(fileExtension) {
|
||||
margin: 0px 5px 0px 0px;
|
||||
}
|
||||
|
||||
.pluginTypesChildren::-moz-tree-image(pluginEnabled) {
|
||||
margin: 0px 5px 0px 0px;
|
||||
list-style-image: url(chrome://mozapps/skin/pref/dot.gif);
|
||||
}
|
||||
|
||||
.pluginTypesChildren::-moz-tree-image(pluginEnabled, enabled) {
|
||||
margin: 0px 5px 0px 0px;
|
||||
list-style-image: url(chrome://mozapps/skin/pref/check.gif);
|
||||
}
|
||||
|
||||
.biggerIndent {
|
||||
margin-left: 28px;
|
||||
}
|
||||
|
||||
#typeField {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#defaultAppName {
|
||||
margin-left: 6px !important;
|
||||
}
|
||||
|
|
@ -16,9 +16,6 @@ classic.jar:
|
|||
skin/classic/mozapps/extensions/themeGeneric.png (extensions/themeGeneric.png)
|
||||
skin/classic/mozapps/plugins/missingPlugin.css (plugins/missingPlugin.css)
|
||||
skin/classic/mozapps/plugins/pluginInstallerWizard.css (plugins/pluginInstallerWizard.css)
|
||||
skin/classic/mozapps/pref/check.gif (pref/check.gif)
|
||||
skin/classic/mozapps/pref/dot.gif (pref/dot.gif)
|
||||
skin/classic/mozapps/pref/pref.css (pref/pref.css)
|
||||
skin/classic/mozapps/profile/profileicon.png (profile/profileicon.png)
|
||||
skin/classic/mozapps/profile/profileSelection.css (profile/profileSelection.css)
|
||||
skin/classic/mozapps/shared/itemFader.png (shared/itemFader.png)
|
||||
|
|
Двоичные данные
toolkit/themes/winstripe/mozapps/pref/check.gif
Двоичные данные
toolkit/themes/winstripe/mozapps/pref/check.gif
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 103 B |
Двоичные данные
toolkit/themes/winstripe/mozapps/pref/dot.gif
Двоичные данные
toolkit/themes/winstripe/mozapps/pref/dot.gif
Двоичный файл не отображается.
До Ширина: | Высота: | Размер: 65 B |
|
@ -1,132 +0,0 @@
|
|||
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* 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/
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* The Original Code is Mozilla.org Code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Doron Rosenberg.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2001
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Ben Goodger <ben@netscape.com> (Original Author)
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
.listBox {
|
||||
-moz-appearance: listbox;
|
||||
margin: 2px 4px;
|
||||
border: 2px solid;
|
||||
-moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
|
||||
-moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
|
||||
-moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
|
||||
-moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
|
||||
background-color: -moz-Field;
|
||||
}
|
||||
|
||||
.indent {
|
||||
-moz-margin-start: 23px;
|
||||
-moz-margin-end: 23px;
|
||||
}
|
||||
|
||||
.small-indent {
|
||||
-moz-margin-start: 15px;
|
||||
}
|
||||
|
||||
.uniWidthButton {
|
||||
min-width: 8em;
|
||||
}
|
||||
|
||||
/** Privacy/Advanced Panels Expander Boxes **/
|
||||
.settingsBox {
|
||||
margin: 5px;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#fileExtension {
|
||||
width: 5em;
|
||||
}
|
||||
|
||||
#fileExtension.pluginsList {
|
||||
width: 5.5em;
|
||||
}
|
||||
|
||||
#typeIcon,
|
||||
.extensionChildren::-moz-tree-image(fileExtension),
|
||||
.pluginTypesChildren::-moz-tree-image(fileExtension) {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
-moz-margin-start: 0px;
|
||||
-moz-margin-end: 5px;
|
||||
}
|
||||
|
||||
.pluginTypesChildren::-moz-tree-image(pluginEnabled) {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
-moz-margin-start: 0px;
|
||||
-moz-margin-end: 5px;
|
||||
list-style-image: url(chrome://mozapps/skin/pref/dot.gif);
|
||||
}
|
||||
|
||||
.pluginTypesChildren::-moz-tree-image(pluginEnabled, enabled) {
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
-moz-margin-start: 0px;
|
||||
-moz-margin-end: 5px;
|
||||
list-style-image: url(chrome://mozapps/skin/pref/check.gif);
|
||||
}
|
||||
|
||||
.biggerIndent {
|
||||
-moz-margin-start: 28px;
|
||||
}
|
||||
|
||||
#typeField {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#defaultAppName {
|
||||
-moz-margin-start: 6px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
#fileHandlersListContainer {
|
||||
-moz-binding: url("chrome://mozapps/skin/downloads/downloads.xml#download-view");
|
||||
-moz-appearance: listbox;
|
||||
-moz-user-focus: normal;
|
||||
}
|
||||
|
||||
* We apply the background to both of these elements since the tree leaves a 2-3px
|
||||
* strip on its right side unpainted. We can't just paint the background layer either
|
||||
* because the tree erases its background with white, obscuring the bottom layer.
|
||||
#fileHandlersList, #fileHandlersListContainer > .downloadViewInner1 {
|
||||
background-image: url("chrome://mozapps/skin/downloads/downloadsBG.png");
|
||||
background-attachment: fixed;
|
||||
background-repeat: no-repeat;
|
||||
background-position: bottom right;
|
||||
-moz-appearance: none;
|
||||
border: none;
|
||||
}
|
||||
*/
|
Загрузка…
Ссылка в новой задаче