Bug 452317 - FeedConverter.js: QueryInterface should throw NS_ERROR_NO_INTERFACE...
[wine-gecko.git] / toolkit / mozapps / update / content / updates.xul
blob9a49adebc799858bdad111286a85bfdf8462e470
1 <?xml version="1.0"?>
3 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
4 # ***** BEGIN LICENSE BLOCK *****
5 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
7 # The contents of this file are subject to the Mozilla Public License Version
8 # 1.1 (the "License"); you may not use this file except in compliance with
9 # the License. You may obtain a copy of the License at
10 # http://www.mozilla.org/MPL/
12 # Software distributed under the License is distributed on an "AS IS" basis,
13 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
14 # for the specific language governing rights and limitations under the
15 # License.
17 # The Original Code is The Update Wizard/Manager.
19 # The Initial Developer of the Original Code is Google Inc.
20 # Portions created by the Initial Developer are Copyright (C) 2005
21 # the Initial Developer. All Rights Reserved.
23 # Contributor(s):
24 # Ben Goodger <ben@mozilla.org>
26 # Alternatively, the contents of this file may be used under the terms of
27 # either the GNU General Public License Version 2 or later (the "GPL"), or
28 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 # in which case the provisions of the GPL or the LGPL are applicable instead
30 # of those above. If you wish to allow use of your version of this file only
31 # under the terms of either the GPL or the LGPL, and not to allow others to
32 # use your version of this file under the terms of the MPL, indicate your
33 # decision by deleting the provisions above and replace them with the notice
34 # and other provisions required by the GPL or the LGPL. If you do not delete
35 # the provisions above, a recipient may use your version of this file under
36 # the terms of any one of the MPL, the GPL or the LGPL.
38 # ***** END LICENSE BLOCK *****
40 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
41 <?xml-stylesheet href="chrome://mozapps/content/update/updates.css"?>
42 <?xml-stylesheet href="chrome://mozapps/skin/update/updates.css"?>
44 <!DOCTYPE wizard [
45 <!ENTITY % updateDTD SYSTEM "chrome://mozapps/locale/update/updates.dtd">
46 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
47 %updateDTD;
48 %brandDTD;
51 <wizard id="updates"
52 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
53 title="&updateWizard.title;"
54 label="" description=""
55 #ifdef XP_MACOSX
56 windowtype="Update:Wizard" style="width: &window.macWidth;;"
57 #else
58 windowtype="Update:Wizard" style="width: &window.width;;"
59 #endif
60 onwizardfinish="gUpdates.onWizardFinish();"
61 onwizardcancel="gUpdates.onWizardCancel();"
62 onwizardnext="gUpdates.onWizardNext();"
63 onload="gUpdates.onLoad();">
65 <script type="application/javascript" src="chrome://mozapps/content/update/updates.js"/>
67 <stringbundleset id="updateSet">
68 <stringbundle id="brandStrings" src="chrome://branding/locale/brand.properties"/>
69 <stringbundle id="updateStrings" src="chrome://mozapps/locale/update/updates.properties"/>
70 </stringbundleset>
72 <wizardpage id="dummy" pageid="dummy" firstpage="true"/>
74 <wizardpage id="checking" pageid="checking" next="updatesfound"
75 label="&checking.title;" object="gCheckingPage"
76 onpageshow="gCheckingPage.onPageShow();">
77 <label>&checking.label;</label>
78 <separator/>
79 <progressmeter id="checkingProgress" mode="undetermined"/>
80 </wizardpage>
82 <wizardpage id="noupdatesautoenabled" pageid="noupdatesautoenabled"
83 label="&noupdatesfound.title;" object="gNoUpdatesPage"
84 onpageshow="gNoUpdatesPage.onPageShow();">
85 <label>&noupdatesautoenabled.intro;</label>
86 </wizardpage>
88 <!-- if auto updates are disabled, show the following page instead -->
89 <wizardpage id="noupdatesautodisabled" pageid="noupdatesautodisabled"
90 label="&noupdatesfound.title;" object="gNoUpdatesPage"
91 onpageshow="gNoUpdatesPage.onPageShow();">
92 <label>&noupdatesautodisabled.intro;</label>
93 </wizardpage>
95 <!-- next is "downloading" by default, but could change to "license"
96 if we have a licenseURL on the update and this is a major update -->
97 <wizardpage id="updatesfound" pageid="updatesfound" next="downloading"
98 object="gUpdatesAvailablePage" label=""
99 onpageshow="gUpdatesAvailablePage.onPageShow();"
100 onextra1="gUpdates.later()"
101 onextra2="gUpdates.never()">
102 <description id="updateType"/>
103 <separator class="thin"/>
104 <label id="updateName" crop="right"/>
105 <separator id="updateNameSep" class="thin"/>
106 <description id="upgradeEvangelism">&upgrade.evangelism;</description>
107 <separator id="upgradeEvangelismSep" flex="1"/>
108 <deck id="detailsDeck" flex="1">
109 <vbox align="start">
110 <hbox align="start">
111 <image id="incompatibleCheckingThrobber"/>
112 <vbox flex="1">
113 <description>&incompatibleChecking.label;</description>
114 </vbox>
115 </hbox>
116 </vbox>
117 <vbox>
118 <vbox id="moreInfoContent" flex="1">
119 <!-- XXX hack sspitzer not a "license", but using this for the
120 display details of a major update (using a remote web page) -->
121 <!-- note, the localized properties for this are prefixed by
122 the id. examples: updateMoreInfoContentNotFound
123 and updateMoreInfoContentDownloading -->
124 <license id="updateMoreInfoContent" flex="1"/>
125 </vbox>
126 <hbox align="start" id="incompatibleWarning" hidden="true">
127 <image id="alertImage"/>
128 <vbox flex="1">
129 <description>&incompatible.warning;</description>
130 <hbox pack="end">
131 <button label="&listIncompatible.label;" accesskey="&listIncompatible.accesskey;"
132 oncommand="gUpdatesAvailablePage.showIncompatibleItems();"/>
133 </hbox>
134 </vbox>
135 </hbox>
136 <hbox id="moreInfoURL">
137 <label class="text-link" id="updateMoreInfoURL"
138 value="&clickHere.label;"/>
139 </hbox>
140 </vbox>
141 </deck>
142 </wizardpage>
144 <wizardpage id="license" pageid="license" next="downloading"
145 object="gLicensePage" label="&license.titleText;"
146 onpageshow="gLicensePage.onPageShow();">
147 <label>&license.instructionText;</label>
148 <separator class="thin"/>
149 <!-- note, the localized properties for this are prefixed by
150 the id. examples: licenseContentNotFound
151 and licenseContentDownloading -->
152 <license id="licenseContent" flex="1"/>
153 <separator class="thin"/>
154 <radiogroup id="acceptDeclineLicense"
155 onselect="gLicensePage.onAcceptDeclineRadio();">
156 <radio id="accept" label="&license.accept;"
157 accesskey="&license.accept.accesskey;"/>
158 <radio id="decline" label="&license.decline;"
159 accesskey="&license.decline.accesskey;"
160 selected="true"/>
161 </radiogroup>
162 </wizardpage>
164 <wizardpage id="downloading" pageid="downloading" next="finished"
165 object="gDownloadingPage" label="&downloading.title;"
166 onpageshow="gDownloadingPage.onPageShow();">
167 <hbox pack="start">
168 <label id="downloadName" crop="right" flex="1">&downloading.intro;</label>
169 <label class="text-link" id="detailsLink" value="&details.link;"/>
170 </hbox>
171 <progressmeter id="downloadProgress" mode="undetermined"/>
172 <hbox id="downloadStatusLine">
173 <image id="downloadThrobber"/>
174 <description id="downloadStatus" flex="1">&connecting.label;</description>
175 <button id="pauseButton" oncommand="gDownloadingPage.onPause();"
176 label="&pause.label;" accesskey="&pause.accesskey;"/>
177 </hbox>
178 <separator/>
179 <hbox id="verificationFailed" align="start" hidden="true">
180 <image id="verificationFailedIcon"/>
181 <description flex="1">&verificationFailedText.label;</description>
182 </hbox>
183 </wizardpage>
185 <wizardpage id="errors" pageid="errors" object="gErrorsPage"
186 onpageshow="gErrorsPage.onPageShow();">
187 <label id="errorIntro">&error.label;</label>
188 <separator/>
189 <textbox class="plain" readonly="true" id="errorReason" multiline="true"
190 rows="3"/>
191 <separator/>
192 <label id="errorManual">&errorManual.label;</label>
193 <hbox>
194 <label class="text-link" id="errorLinkLabel"/>
195 </hbox>
196 </wizardpage>
198 <wizardpage id="errorpatching" pageid="errorpatching" next="downloading"
199 label="&errorpatching.title;" object="gErrorsPage"
200 onpageshow="gErrorsPage.onPageShowPatching();">
201 <label>&errorpatching.intro;</label>
202 </wizardpage>
204 <wizardpage id="finished" pageid="finished"
205 label="&finished.title;" object="gFinishedPage"
206 onpageshow="gFinishedPage.onPageShow();">
207 <label>&finished.text;</label>
208 </wizardpage>
210 <wizardpage id="finishedBackground" pageid="finishedBackground"
211 label="&finishedBackground.title;" object="gFinishedPage"
212 onpageshow="gFinishedPage.onPageShowBackground();">
213 <label>&finishedBackground.text;</label>
214 <separator/>
215 <hbox align="center">
216 <label>&finishedBackground.name;</label>
217 <label id="updateFinishedName" flex="1" crop="right"/>
218 <label id="finishedBackgroundLink" class="text-link" value="&details.link;"/>
219 </hbox>
220 <spacer flex="1"/>
221 <label>&finishedBackground.more1;</label>
222 <separator class="thin"/>
223 <label>&finishedBackground.textNotNow;</label>
224 </wizardpage>
226 <wizardpage id="installed" pageid="installed"
227 label="&installed.title;" object="gInstalledPage"
228 onpageshow="gInstalledPage.onPageShow();">
229 <label>&installed.intro;</label>
230 <separator/>
231 <hbox>
232 <label id="whatsnewLink" class="text-link" hidden="true" value="&whatsnew.label;"/>
233 </hbox>
234 </wizardpage>
236 </wizard>