moved to growl, changed to notification center opens conversation view

This commit is contained in:
Jeena Paradies 2012-11-10 23:35:06 +01:00
parent d7a403bce5
commit 35a4d4a16f
22 changed files with 1319 additions and 80 deletions

View file

@ -24,8 +24,10 @@ function(HostApp, Timeline) {
Timeline.prototype.newStatus.call(this, statuses);
if(this.is_not_init) {
this.unread_mentions += statuses.length;
HostApp.unreadMentions(this.unread_mentions);
for (var i = 0; i < statuses.length; i++) {
var status = statuses[i];
@ -52,6 +54,13 @@ function(HostApp, Timeline) {
Timeline.prototype.getNewData.call(this, add_to_search);
}
Mentions.prototype.mentionRead = function(id, entity) {
if (this.unread_mentions > 0) {
this.unread_mentions--;
HostApp.unreadMentions(this.unread_mentions);
}
}
return Mentions;
});