diff --git a/Controller.m b/Controller.m index ef77721..3b32b4d 100644 --- a/Controller.m +++ b/Controller.m @@ -195,8 +195,10 @@ - (void)unreadMentions:(NSInteger)count { if (![mentionsViewWindow isVisible] && count > 0) { [timelineViewWindow setTitle:[NSString stringWithFormat:@"Twittia (@%i)", count]]; + [[[NSApplication sharedApplication] dockTile] setBadgeLabel:[NSString stringWithFormat:@"%i", count]]; } else { [timelineViewWindow setTitle:[NSString stringWithFormat:@"Twittia"]]; + [[[NSApplication sharedApplication] dockTile] setBadgeLabel:nil]; [mentionsView stringByEvaluatingJavaScriptFromString:@"twittia_instance.unread_mentions = 0;"]; } } diff --git a/ReleaseNotes.html b/ReleaseNotes.html index e231431..dc7d715 100644 --- a/ReleaseNotes.html +++ b/ReleaseNotes.html @@ -13,8 +13,9 @@
Added icon
-Now with OAuth
+Added icon.
+Now with OAuth.
+Added badge to dock icon on new mentions.