~ubuntu-branches/ubuntu/intrepid/xulrunner-1.9/intrepid

« back to all changes in this revision

Viewing changes to mozilla/xpfe/components/download-manager/resources/downloadmanager.xul

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack, Alexander Sack, Fabien Tassin
  • Date: 2008-02-13 11:47:21 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080213114721-7om0mgzngvuk9czv
Tags: 1.9~b3+nobinonly-0ubuntu1
* release FIREFOX_3_0b3_RELEASE

[ Alexander Sack ]
* submit patch that ships xpcshell to bugzilla
  - rename debian/patches/ship_xpcshell.patch =>
           debian/patches/bz410617_att295212_ship_xpcshell.patch
  - update debian/patches/series
* fix tooltip in epiphany: previously displayed out of screen bounds
  (LP: #37507)
  - add debian/patches/bz233371_att297343_fix_outofscreen_embed_tooltip.patch
  - update debian/patches/series
* use default upstream gcc tweaks for improved performance - especially of the
  javascript engine
  - update debian/rules
* update global extension/plugin patch to apply cleanly against latest code
  - update debian/patches/bzXXX_gre_extension_plugin_support.patch
* fix pyxpcom build failure introduced by recent commit
  - add debian/patches/bzXXX_fix_pyxpcom_build_failure.patch
  - update debian/patches/series
* add distro independent global install locations for extensions,
  /usr/lib/mozilla/extensions and /usr/share/mozilla/extensions
  - update debian/xulrunner-1.9.dirs
* support embedded tarball layout when either there is a *.tar.bz2 in orig tarball
  or if DEBIAN_MOZCLIENT_EMBEDDED is not unset (you will need this to produce embedded
  tarballs during |get-orig-source|
  - update debian/rules
* bump minimum libnss3-dev build requirements to >= 3.12.0~1.9b3
  - update debian/control
* bump minimum libnspr4-dev build requirements to >= 4.7.0~1.9b3
  - update debian/control

[ Fabien Tassin ]
* Drop patches applied upstream
  - drop debian/patches/bz410617_att295212_ship_xpcshell.patch
  - drop debian/patches/bz404634_att294921.patch
  - drop debian/patches/bz386610_python2.5_ftbfs_amd64.patch
  - drop debian/patches/bz373918_att295042.patch
  - drop debian/patches/bz408062_unstable_pc.patch
  - drop debian/patches/bz384304_fix_recursive_symlinks.patch
  - update debian/patches/series
* Refresh diverged patches:
  - update debian/patches/bzXXX_pc_honour_system_nspr_nss.patch
  - update debian/patches/rename_venkman_addon.patch
  - update debian/patches/bz344818_cairo_xrender.patch
* Install links for all .so libs in the -dev package
  - update debian/patches/dont_install_so_in_dev.patch
* Bump gtk requirement to 2.12 as per Mozilla bug 412432
  - update debian/control
* Add #DEBHELPER# token to postinst/prerm scripts
  - update debian/xulrunner-1.9.{postinst,prerm}
* Install previously missed libdbusservice.so
  - update debian/xulrunner-1.9.install
* Update venkman patch to also rename locales
  - update debian/patches/rename_venkman_addon.patch
* Bump requirement for system cairo to >= 1.5.8 as we now need
  the newly added cairo_path_extents()
  - update debian/rules
* Include mozilla-devscripts file using -include so ifneq could be omitted
  - update debian/rules
* Fix missing .so symlinks regression
  - update debian/patches/dont_install_so_in_dev.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
 
3
 
<!--
4
 
 
5
 
 ***** BEGIN LICENSE BLOCK *****
6
 
 Version: MPL 1.1/GPL 2.0/LGPL 2.1
7
 
 
8
 
 The contents of this file are subject to the Mozilla Public License Version
9
 
 1.1 (the "License"); you may not use this file except in compliance with
10
 
 the License. You may obtain a copy of the License at
11
 
 http://www.mozilla.org/MPL/
12
 
 
13
 
 Software distributed under the License is distributed on an "AS IS" basis,
14
 
 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
15
 
 for the specific language governing rights and limitations under the
16
 
 License.
17
 
 
18
 
 The Original Code is mozilla.org code.
19
 
 
20
 
 The Initial Developer of the Original Code is
21
 
 Netscape Communications Corporation.
22
 
 Portions created by the Initial Developer are Copyright (C) 1998
23
 
 the Initial Developer. All Rights Reserved.
24
 
 
25
 
 Contributor(s):
26
 
   Ben Goodger <ben@netscape.com> (Original Author)
27
 
   Blake Ross  <blaker@netscape.com>
28
 
   Jan Varga   <varga@ku.sk>
29
 
 
30
 
 Alternatively, the contents of this file may be used under the terms of
31
 
 either of the GNU General Public License Version 2 or later (the "GPL"),
32
 
 or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
33
 
 in which case the provisions of the GPL or the LGPL are applicable instead
34
 
 of those above. If you wish to allow use of your version of this file only
35
 
 under the terms of either the GPL or the LGPL, and not to allow others to
36
 
 use your version of this file under the terms of the MPL, indicate your
37
 
 decision by deleting the provisions above and replace them with the notice
38
 
 and other provisions required by the GPL or the LGPL. If you do not delete
39
 
 the provisions above, a recipient may use your version of this file under
40
 
 the terms of any one of the MPL, the GPL or the LGPL.
41
 
 
42
 
 ***** END LICENSE BLOCK ***** -->
43
 
 
44
 
<?xml-stylesheet href="chrome://communicator/skin/"?>
45
 
 
46
 
<!DOCTYPE window [
47
 
<!ENTITY % downloadManagerDTD SYSTEM "chrome://communicator/locale/downloadmanager/downloadmanager.dtd">
48
 
%downloadManagerDTD;
49
 
<!ENTITY % downloadProgressDTD SYSTEM "chrome://global/locale/nsProgressDialog.dtd" >
50
 
%downloadProgressDTD;
51
 
]>
52
 
 
53
 
<window id="downloadManager"
54
 
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
55
 
        xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
56
 
        windowtype="Download:Manager"
57
 
        width="500" height="300" screenX="10" screenY="10"
58
 
        persist="width height screenX screenY"
59
 
        title="&downloadManager.title;"
60
 
        onload="DLManagerStartup();"
61
 
        onunload="DLManagerShutdown();">
62
 
 
63
 
  <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
64
 
 
65
 
  <script type="application/x-javascript" src="chrome://communicator/content/downloadmanager/downloadmanager.js"/>
66
 
 
67
 
  <stringbundleset id="stringbundleset">
68
 
    <stringbundle id="dlMgrBundle"
69
 
                  src="chrome://communicator/locale/downloadmanager/downloadmanager.properties"/>
70
 
    <stringbundle id="dlProgressDlgBundle"
71
 
                  src="chrome://global/locale/nsProgressDialog.properties"/>
72
 
  </stringbundleset>
73
 
  
74
 
  <data id="strings.confirmCancel">&confirmCancel;</data>
75
 
  <data id="strings.progressMsgNoRate">&progressMsgNoRate;</data>
76
 
  <data id="strings.rateMsg">&rateMsg;</data>
77
 
  <data id="strings.completeMsg">&completeMsg;</data>
78
 
  <data id="strings.percentMsg">&percentMsg;</data>
79
 
  <data id="strings.shortTimeFormat">&shortTimeFormat;</data>
80
 
  <data id="strings.longTimeFormat">&longTimeFormat;</data>
81
 
  <data id="strings.unknownTime">&unknownTime;</data>
82
 
  <data id="strings.pausedMsg">&pausedMsg;</data>
83
 
 
84
 
  <commandset id="commands">
85
 
    <commandset id="commandUpdate_Downloads"
86
 
                commandupdater="true"
87
 
                events="focus,tree-select"
88
 
                oncommandupdate="downloadViewController.onCommandUpdate()"/>
89
 
 
90
 
    <commandset id="downloadCommands">
91
 
      <command id="cmd_properties"
92
 
               oncommand="goDoCommand('cmd_properties');"/>
93
 
      <command id="cmd_pause"
94
 
               oncommand="goDoCommand('cmd_pause');"/>
95
 
      <command id="cmd_cancel"
96
 
               oncommand="goDoCommand('cmd_cancel');"/>
97
 
      <command id="cmd_remove"
98
 
               oncommand="goDoCommand('cmd_remove');"/>
99
 
      <command id="cmd_copyurl"
100
 
               oncommand="goDoCommand('cmd_copyurl');"/>
101
 
      <command id="cmd_openfile"
102
 
               oncommand="goDoCommand('cmd_openfile');"/>
103
 
      <command id="cmd_showinshell"
104
 
               oncommand="goDoCommand('cmd_showinshell');"/>
105
 
    </commandset>
106
 
 
107
 
    <!-- File Menu -->
108
 
    <command id="cmd_newNavigator"/>
109
 
    <command id="cmd_close" oncommand="close()"/>
110
 
    <command id="cmd_quit"/>
111
 
 
112
 
  </commandset>
113
 
  
114
 
  <broadcasterset id="navBroadcasters"/>
115
 
 
116
 
  <keyset id="tasksKeys">
117
 
    <!-- File Menu -->
118
 
    <key id="key_newNavigator"/>
119
 
    <key id="key_close"/>
120
 
    <key id="key_quit"/>
121
 
 
122
 
    <!-- These keybindings do not have a command specified in the overlay,
123
 
         which is good, but we need to specify it ourselves here -->
124
 
    <key id="key_selectAll" command="cmd_selectAll"/>
125
 
 
126
 
    <!-- These keybindings do have a command specified in the overlay,
127
 
         which we need to correct in our DLManagerStartup() function -->
128
 
    <key id="key_delete"/>
129
 
    <key id="key_delete2"/>
130
 
 
131
 
    <key id="key_properties" key="&cmd.properties.keybinding;"
132
 
         command="cmd_properties" modifiers="accel"/>
133
 
 
134
 
    <key id="key_copy" command="cmd_copyurl"/>
135
 
  </keyset>
136
 
 
137
 
  <popup id="downloadPaneContext">
138
 
    <menuitem id="downloadPaneContext-properties"
139
 
              label="&cmd.properties.label;"
140
 
              accesskey="&cmd.properties.accesskey;"
141
 
              command="cmd_properties"/>
142
 
    <menuseparator id="downloadPaneContext-sep1"/>
143
 
    <menuitem id="downloadPaneContext-cancel"
144
 
              label="&cmd.cancel.label;"
145
 
              accesskey="&cmd.cancel.accesskey;"
146
 
              command="cmd_cancel"/>
147
 
    <menuitem id="downloadPaneContext-remove"
148
 
              label="&cmd.remove.label;"
149
 
              accesskey="&cmd.remove.accesskey;"
150
 
              command="cmd_remove"/>
151
 
    <menuitem id="downloadPaneContext-copyurl"
152
 
              label="&cmd.copyurl.label;"
153
 
              accesskey="&cmd.copyurl.accesskey;"
154
 
              command="cmd_copyurl"/>
155
 
    <menuseparator id="downloadPaneContext-sep2"/>
156
 
    <menuitem id="downloadPaneContext-openfile"
157
 
              label="&cmd.openfile.label;"
158
 
              accesskey="&cmd.openfile.accesskey;"
159
 
              command="cmd_openfile"/>
160
 
    <menuitem id="downloadPaneContext-showinshell"
161
 
              label="&cmd.showinshell.label;"
162
 
              accesskey="&cmd.showinshell.accesskey;"
163
 
              command="cmd_showinshell"/>
164
 
  </popup>
165
 
 
166
 
  <toolbox id="toolbox">
167
 
    <toolbar id="download-toolbar" class="chromeclass-toolbar" persist="collapsed" grippytooltiptext="&dm.tooltip;">
168
 
      <toolbarbutton label="&cmd.properties.label;" accesskey="&cmd.properties.accesskey;"
169
 
                     command="cmd_properties"/>
170
 
      <toolbarseparator/>
171
 
      <toolbarbutton label="&cmd.cancel.label;" accesskey="&cmd.cancel.accesskey;"
172
 
                     command="cmd_cancel"/>
173
 
      <toolbarbutton label="&cmd.remove.label;" accesskey="&cmd.remove.accesskey;"
174
 
                     command="cmd_remove"/>
175
 
      <toolbarbutton id="btn_copyurl" label="&cmd.copyurl.label;" accesskey="&cmd.copyurl.accesskey;"
176
 
                     command="cmd_copyurl"/>
177
 
      <toolbarseparator/>
178
 
      <toolbarbutton id="btn_openfile" label="&cmd.openfile.label;" accesskey="&cmd.openfile.accesskey;"
179
 
                     command="cmd_openfile"/>
180
 
      <toolbarbutton id="btn_showinshell" label="&cmd.showinshell.label;" accesskey="&cmd.showinshell.accesskey;"
181
 
                     command="cmd_showinshell"/>
182
 
    </toolbar>
183
 
  </toolbox>
184
 
 
185
 
  <tree id="downloadView" flex="1" class="plain" context="downloadPaneContext"
186
 
            datasources="rdf:null" ref="NC:DownloadsRoot" flags="dont-test-empty"
187
 
            enableColumnDrag="true" onselect="onSelect(event);"
188
 
            ondblclick="if (event.button == 0) onTrigger();"
189
 
            onkeypress="if ((event.keyCode == KeyEvent.DOM_VK_RETURN) ||
190
 
                            (event.keyCode == KeyEvent.DOM_VK_ENTER)) onTrigger();">
191
 
    <treecols onclick="doSort(event.target)">
192
 
      <treecol id="Name" primary="true"
193
 
                   label="&view.header.name.label;"
194
 
                   class="sortDirectionIndicator" width="3*" flex="3"
195
 
                   resource="http://home.netscape.com/NC-rdf#Name"
196
 
                   persist="width sortActive sortDirection ordinal"/>
197
 
      <splitter class="tree-splitter"/>
198
 
      <treecol id="Progress" type="progressmeter"
199
 
                   label="&view.header.progress.label;"
200
 
                   class="sortDirectionIndicator" width="3*" flex="3"
201
 
                   resource="http://home.netscape.com/NC-rdf#ProgressPercent"
202
 
                   persist="width hidden sortActive sortDirection ordinal"/>
203
 
      <splitter class="tree-splitter"/>
204
 
      <treecol id="ProgressPercent" hidden="true"
205
 
                   label="&view.header.progresstext.label;"
206
 
                   class="sortDirectionIndicator" width="1*" flex="1"
207
 
                   resource="http://home.netscape.com/NC-rdf#ProgressPercent"
208
 
                   persist="width hidden sortActive sortDirection ordinal"/>
209
 
      <splitter class="tree-splitter"/>
210
 
      <treecol id="TimeRemaining"
211
 
                   label="&view.header.timeremaining.label;"
212
 
                   class="sortDirectionIndicator" width="1*" flex="1"
213
 
                   resource="http://home.netscape.com/NC-rdf#TimeRemaining"
214
 
                   persist="width hidden sortActive sortDirection ordinal"/>
215
 
      <splitter class="tree-splitter"/>
216
 
      <treecol id="Transferred"
217
 
                   label="&view.header.transferred.label;"
218
 
                   class="sortDirectionIndicator" width="1*" flex="1"
219
 
                   resource="http://home.netscape.com/NC-rdf#Transferred"
220
 
                   persist="width hidden sortActive sortDirection ordinal"/>
221
 
      <splitter class="tree-splitter"/>
222
 
      <treecol id="TransferRate"
223
 
                   label="&view.header.transferrate.label;"
224
 
                   class="sortDirectionIndicator" width="1*" flex="1"
225
 
                   resource="http://home.netscape.com/NC-rdf#TransferRate"
226
 
                   persist="width hidden sortActive sortDirection ordinal"/>
227
 
      <splitter class="tree-splitter"/>
228
 
      <treecol id="TimeElapsed" hidden="true"
229
 
                   label="&view.header.timeelapsed.label;"
230
 
                   class="sortDirectionIndicator" width="1*" flex="1"
231
 
                   resource="http://home.netscape.com/NC-rdf#TimeElapsed"
232
 
                   persist="width hidden sortActive sortDirection ordinal"/>
233
 
      <splitter class="tree-splitter"/>
234
 
      <treecol id="Source" hidden="true"
235
 
                   label="&view.header.source.label;"
236
 
                   class="sortDirectionIndicator" width="1*" flex="1"
237
 
                   resource="http://home.netscape.com/NC-rdf#URL"
238
 
                   persist="width hidden sortActive sortDirection ordinal"/>
239
 
    </treecols>
240
 
    <template>
241
 
      <rule>
242
 
        <treechildren>
243
 
          <treeitem uri="rdf:*">
244
 
            <treerow>
245
 
              <treecell src="moz-icon:rdf:http://home.netscape.com/NC-rdf#File"
246
 
                            label="rdf:http://home.netscape.com/NC-rdf#Name"/>
247
 
              <treecell mode="rdf:http://home.netscape.com/NC-rdf#ProgressMode"
248
 
                            value="rdf:http://home.netscape.com/NC-rdf#ProgressPercent"
249
 
                            label="rdf:http://home.netscape.com/NC-rdf#StatusText"/>
250
 
              <treecell label="rdf:http://home.netscape.com/NC-rdf#ProgressPercent"/>
251
 
              <treecell label="rdf:http://home.netscape.com/NC-rdf#TimeRemaining"/>
252
 
              <treecell label="rdf:http://home.netscape.com/NC-rdf#Transferred"/>
253
 
              <treecell label="rdf:http://home.netscape.com/NC-rdf#TransferRate"/>
254
 
              <treecell label="rdf:http://home.netscape.com/NC-rdf#TimeElapsed"/>
255
 
              <treecell label="rdf:http://home.netscape.com/NC-rdf#URL"/>
256
 
            </treerow>
257
 
          </treeitem>
258
 
        </treechildren>
259
 
      </rule>
260
 
    </template>
261
 
  </tree>
262
 
 
263
 
  <statusbar id="status-bar" class="chromeclass-status">
264
 
    <statusbarpanel id="statusbar-text" label="" flex="1"/>
265
 
  </statusbar>
266
 
 
267
 
</window>