Merge pull request #1 from PhilipDexter/master

That's the spirit!
This commit is contained in:
Jan Oliver Oelerich 2012-10-10 23:56:25 -07:00
commit 2bf94b6d82

View File

@ -36,7 +36,7 @@ class MailChecker(object):
if not unread:
return None
return {'full_text' : '%d new emails' % unread,
return {'full_text' : '%d new email%s' % (unread, ('s' if unread > 1 else '')),
'name' : 'newmail',
'urgent' : 'true',
'color' : self.settings['color']}
@ -102,4 +102,4 @@ class MailChecker(object):
self.unread_cache = unread
self.last_checked = datetime.now()
return self.unread_cache
return self.unread_cache