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

@ -226,8 +226,8 @@ li:first-child:hover .date {
width: 15px;
height: 12px;
position: absolute;
top: 2px;
right: 2px;
top: 5px;
right: 10px;
background: url(../img/sprite-icons.png) no-repeat -16px 0;
display: none;
}
@ -237,6 +237,6 @@ li:hover .reply_to, li:hover .retweet {
}
.retweet {
top: 15px;
top: 18px;
background-position: -192px 0;
}

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;
});