rem:  this.setValue( "target", this.target.path ); 
add:  if (this.targetFile != null) { this.setValue( "target", this.targetFile.path ); } else { this.setValue( "target", this.target.spec ); this.hide( "pauseResume" ); this.hide( "launch" ); this.hide( "reveal" ); } 
context:     loadDialog: function() {        // Check whether we're saving versus opening with a helper app.        if ( !this.saving ) {            // Put proper label on source field.            this.setValue( "sourceLabel", this.getString( "openingSource" ) );            // Target is the "preferred" application.  Hide if empty.            if ( this.MIMEInfo && this.MIMEInfo.preferredApplicationHandler ) {                var appName = this.MIMEInfo.preferredApplicationHandler.leafName;                if ( appName == null || appName.length == 0 ) {                    this.hide( "targetRow" );                } else {                    // Use the "with:" label.                    this.setValue( "targetLabel", this.getString( "openingTarget" ) );                    // Name of application.                    this.setValue( "target", appName );                }           } else {               this.hide( "targetRow" );           }        } else {            // Target is the destination file.            this.setValue( "target", this.target.path );        }        // Set source field.        this.setValue( "source", this.source.spec );        var now = ( new Date() ).getTime();        // Intialize the elapsed time.        if ( !this.elapsed ) {            this.elapsed = now - this.startTime;        }        // Update elapsed time display.        this.setValue( "timeElapsed", this.formatSeconds( this.elapsed / 1000 ) );        this.setValue( "timeLeft", this.getString( "unknownTime" ) );        // Initialize the "keep open" box.  Hide this if we're opening a helper app.        if ( !this.saving ) {            // Hide this in this case.            this.hide( "keep" );        } else {            // Initialize using last-set value from prefs.            var prefs = Components.classes[ "@mozilla.org/preferences-service;1" ]                            .getService( Components.interfaces.nsIPrefBranch );            if ( prefs ) {                this.dialogElement( "keep" ).checked = prefs.getBoolPref( "browser.download.progressDnldDialog.keepAlive" );            }        }        // Initialize title.        this.setTitle();    },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9ae1052a5685c75f98e9e1c5a2535084dbf3fd72/nsProgressDialog.js/clean/embedding/components/ui/progressDlg/nsProgressDialog.js