~ubuntu-branches/ubuntu/gutsy/firefox/gutsy

« back to all changes in this revision

Viewing changes to mailnews/base/resources/content/markByDate.js

  • Committer: Bazaar Package Importer
  • Author(s): Ian Jackson
  • Date: 2006-10-10 18:49:32 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20061010184932-da75izt7y0e59afq
Tags: 1.99+2.0rc2+dfsg-0ubuntu1
* New upstream version 2.0rc2.
* Fix/workaround for epiphany GtkSocket lifetype crash:
  apply patch id=241087 from Mozilla Bugzilla #241535 to fix LP #63814.
* Change application name to `Firefox', as requested by mdz.
  Files changed:
    - browser/locales/en-US/chrome/branding/brand.dtd
    - browser/locales/en-US/chrome/branding/brand.properties;
  New values:
    - brandShortName and brandFullName: `Bon Echo' => `Firefox'
    - vendorShortName: `Mozilla' => `Ubuntu'
* Make preferences dialogue fit again (bah!).

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
    while ( enumerator.hasMoreElements() )
128
128
    {
129
129
      var header = enumerator.getNext();
130
 
      if ( ( header instanceof Components.interfaces.nsIMsgDBHdr )
131
 
         && !header.isRead ) // don't do anything until really necessary
 
130
      if ( header instanceof Components.interfaces.nsIMsgDBHdr )
132
131
      {
133
 
        var messageDate = header.date;
 
132
        if ( !header.isRead ) // don't do anything until really necessary
 
133
        {
 
134
           var messageDate = header.date;
134
135
 
135
 
        if ( ( lower <= messageDate ) && ( messageDate < upper ) )
136
 
          headers.AppendElement( header );
 
136
           if ( ( lower <= messageDate ) && ( messageDate < upper ) )
 
137
             headers.AppendElement( header );
 
138
        }
137
139
      }
138
140
      else
139
141
        dump("markByDate::markInDatabase: unexpected: the database gave us a header which is no nsIMsgDBHdr!\n" );