2006-09-14 05:53:45 +00:00
|
|
|
<?xml version="1.0"?>
|
2006-09-14 05:53:46 +00:00
|
|
|
<!-- -*- Mode: xml; indent-tabs-mode: nil; -*-
|
|
|
|
- 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 Communicator client code, released
|
|
|
|
- March 31, 1998.
|
|
|
|
|
|
|
|
- The Initial Developer of the Original Code is Netscape
|
|
|
|
- Communications Corporation. Portions created by Netscape are
|
|
|
|
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
|
|
|
|
- Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
|
|
|
- Blake Ross <blake@netscape.com> (Original Author)
|
|
|
|
-->
|
2006-09-14 05:53:45 +00:00
|
|
|
|
XUL/theme simplification changes - removing unnecessary boxes and re-writing large portions of the themes to use new -moz-border-colors and -moz-image-region css features. Also cleans up the classic skin quite a bit for both mac and win. Fixes bugs 113024, 113043, 113585, 113586, 115943, 113643, 114475, 99787, 110214, 113977, 113966, 114802, 64894, 90724, 103173, 103199, 103298, 110442, 111472, 111989, 113027, 113041, 109180, 109204, 81581, 81903, 103324, 110108, 114540, and probably more I forgot to mention. r=ben, sr=hyatt
2006-09-14 06:02:17 +00:00
|
|
|
<?xml-stylesheet href="chrome://communicator/skin/dialogs.css" type="text/css"?>
|
2006-09-14 06:01:04 +00:00
|
|
|
|
2006-09-14 06:06:28 +00:00
|
|
|
<!DOCTYPE dialog [
|
2006-09-14 05:53:45 +00:00
|
|
|
<!ENTITY % turboDialogDTD SYSTEM "chrome://navigator/locale/turboDialog.dtd" >
|
|
|
|
%turboDialogDTD;
|
|
|
|
<!ENTITY % dialogOverlayDTD SYSTEM "chrome://global-platform/locale/platformDialogOverlay.dtd" >
|
|
|
|
%dialogOverlayDTD;
|
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
|
|
|
%brandDTD;
|
|
|
|
]>
|
|
|
|
|
2006-09-14 06:01:04 +00:00
|
|
|
<dialog id="turboDialog" buttons="accept" buttonpack="center"
|
2006-09-14 05:53:45 +00:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
title="&exitWarningTitle.label;"
|
|
|
|
onunload="SetTurboPref();">
|
|
|
|
<script type="application/x-javascript">
|
|
|
|
<![CDATA[
|
|
|
|
function SetTurboPref() {
|
|
|
|
var showDialog = document.getElementById("showAgain").checked;
|
|
|
|
try {
|
2006-09-14 06:00:45 +00:00
|
|
|
var prefs = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);
|
2006-09-14 05:53:45 +00:00
|
|
|
if (prefs)
|
|
|
|
prefs.setBoolPref("browser.turbo.showDialog", !showDialog);
|
|
|
|
}
|
|
|
|
catch(e) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]]>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<hbox flex="1">
|
|
|
|
<hbox align="start" valign="top">
|
|
|
|
<image class="message-icon"/>
|
|
|
|
</hbox>
|
|
|
|
<separator orient="vertical" class="thin"/>
|
|
|
|
<vbox flex="1">
|
|
|
|
<!-- text -->
|
107642 - XUL syntax/cleanup landing. Fixes 94470, 96008, 96019, 76800, 102637, 80399, 108303, and removes over a thousand unnecessary or nonsensical attributes. Also fixes 108302, 102366, 102367, 105815. r=sspitzer,cmanske on appropriate parts sr=ben
2006-09-14 06:00:47 +00:00
|
|
|
<description flex="1">&exitWarningMsg.label;</description>
|
2006-09-14 05:53:45 +00:00
|
|
|
<vbox flex="1" style="max-width: 36em;"/>
|
|
|
|
<separator/>
|
|
|
|
<hbox>
|
2006-09-14 06:00:43 +00:00
|
|
|
<spacer flex="45%"/>
|
2006-09-14 05:53:45 +00:00
|
|
|
<image id="turboTrayImage"/>
|
2006-09-14 06:00:43 +00:00
|
|
|
<spacer flex="55%"/>
|
2006-09-14 05:53:45 +00:00
|
|
|
</hbox>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<separator class="thin"/>
|
|
|
|
<!-- checkbox -->
|
|
|
|
<hbox align="start">
|
|
|
|
<checkbox id="showAgain" label="&exitWarningCheckbox.label;"
|
2006-09-14 06:00:44 +00:00
|
|
|
accesskey="&exitWarningCheckbox.accesskey;"/>
|
2006-09-14 05:53:45 +00:00
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</hbox>
|
|
|
|
|
2006-09-14 06:01:04 +00:00
|
|
|
</dialog>
|