Bug 518882: Download Manager: Need a Remove button for canceled entries [r=mark.finkle]
authorVivien Nicolas <21@vingtetun.org>
Wed, 21 Oct 2009 21:57:16 -0400
changeset 65698 3c64365edb1280f63e0629e5b2613e920b33b20a
parent 65697 3f4ae3b448051c53eac0519a1be0e388340f9e76
child 65699 551ae2d7312a43cb4dec0f72353137d023d808cb
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmark
bugs518882
Bug 518882: Download Manager: Need a Remove button for canceled entries [r=mark.finkle]
mobile/chrome/content/bindings/downloads.xml
--- a/mobile/chrome/content/bindings/downloads.xml
+++ b/mobile/chrome/content/bindings/downloads.xml
@@ -104,16 +104,18 @@
           <xul:label class="title" xbl:inherits="value=target" crop="center" flex="1"/>
           <xul:label class="normal" xbl:inherits="value=datetime"/>
         </xul:hbox>
         <xul:hbox>
           <xul:label class="normal" xbl:inherits="value=status" crop="end" flex="1"/>
           <xul:label class="hide-on-select download-retry-failed normal" value="&downloadFailed.label;"/>
           <xul:button class="show-on-select download-retry" label="&downloadRetry.label;"
                       oncommand="DownloadsView.retryDownload(document.getBindingParent(this));"/>
+          <xul:button class="show-on-select download-remove" label="&downloadRemove.label;"
+                      oncommand="DownloadsView.removeDownload(document.getBindingParent(this));"/>
         </xul:hbox>
       </xul:vbox>
     </content>
   </binding>
 
   <binding id="download-done" extends="#download-base">
    <content orient="horizontal" align="start">
       <xul:image validate="always" xbl:inherits="src=iconURL"/>