Changeset 569

Show
Ignore:
Timestamp:
2007-08-21 23:49:39 (1 year ago)
Author:
MaierMan
Message:

#309 pt3: fix multiple items
Remove unnecessary locale

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/dta/manager/info.js

    r566 r569  
    4141                        else { 
    4242                                // more than just one download 
    43                                 $('infoDest', 'infoURL', 'sourcePage').forEach( 
     43                                $('infoIcon').src = 'chrome://dta/skin/common/icon.png'; 
     44                                $('infoDest').value = window.title; 
     45                                $('infoURL', 'infoSize', 'sourcePage').forEach( 
    4446                                        function(e) { 
    4547                                                e.value = "---"; 
     
    6062                                        ? dir 
    6163                                        : ''; 
    62  
    63                                 var normal = this.canvas.createLinearGradient(0,0,0,16); 
    64                                 normal.addColorStop(0, 'rgba(255,255,255,50)'); 
    65                                 normal.addColorStop(1, '#ECE9D8'); 
    66                          
    67                                 this.canvas.fillStyle = normal; 
    68                                 this.canvas.fillRect(0,0,300,20); 
    69                                          
     64                                $('canvasGrid').hidden = true; 
    7065                        }                                
    7166                        if (downloads.every(function(d) { return d.is(COMPLETE, FINISHING); })) { 
  • trunk/chrome/content/dta/manager/info.xul

    r568 r569  
    1616        <!ENTITY % commonDTD SYSTEM "chrome://dta/locale/common.dtd"> 
    1717        %commonDTD; 
    18         <!ENTITY % infoDTD SYSTEM "chrome://dta/locale/info.dtd"> 
    19         %infoDTD; 
    2018        <!ENTITY % managerDTD SYSTEM "chrome://dta/locale/manager.dtd"> 
    2119        %managerDTD;     
     
    2422<dialog 
    2523        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  
    26         title="&title;"  
     24        title="&infoMultiple.value;"  
    2725        id="dTaDownloadInfo"  
    2826        onload="Dialog.load();"  
  • trunk/chrome/content/dta/manager/tooltip.js

    r566 r569  
    4848        stop: function() { 
    4949                this._current = null; 
    50                 this._timer.kill(); 
     50                if (this._timer) { 
     51                        this._timer.kill(); 
     52                } 
    5153        },       
    5254        update: function() { 
  • trunk/chrome/locale/en-US/manager.dtd

    r568 r569  
    1616<!ENTITY infoURLTitle.value "From:"> 
    1717<!ENTITY infoSizeTitle.value "Size:"> 
     18<!ENTITY infoMultiple.value "Multiple Items"> 
    1819<!ENTITY elapsedTitle.value "Elapsed:"> 
    1920<!ENTITY remainingTitle.value "Remaining:">