Comment 7 for bug 997001

Revision history for this message
Rodney (rod-dowdall) wrote :

You can fix it by doing the following in GmailAtom.cs. Change this:

UnreadCount = Convert.ToInt32 (xml.SelectSingleNode ("//atom:fullcount", nsmgr).InnerText);

NewCount = 0;
foreach (UnreadMessage message in tmp)
    if (message.SendDate > GMailPreferences.LastChecked)
        NewCount++;

to this:

NewCount = 0;
UnreadCount = 0;
foreach (UnreadMessage message in tmp) {
    UnreadCount++;
    if (message.SendDate > GMailPreferences.LastChecked)
        NewCount++;
}

Apparently the google atom feed does not publish the fullcount anymore. It is always set to 0.