зеркало из https://github.com/mozilla/snowl.git
don't place a feed icon in the notification background
This commit is contained in:
Родитель
f26aaf0703
Коммит
2e6f8f41d3
|
@ -967,23 +967,23 @@ if (fp.file.leafName != leafName) {
|
|||
return;
|
||||
|
||||
var feedType = this._getFeedType();
|
||||
var codeStr;
|
||||
var codeStr = "";
|
||||
|
||||
// change the background
|
||||
var header = this._elements["feedHeader"];
|
||||
this._contentSandbox.header = header;
|
||||
switch (feedType) {
|
||||
case Ci.nsIFeed.TYPE_VIDEO:
|
||||
codeStr = "header.className = 'videoPodcastBackground'; ";
|
||||
break;
|
||||
|
||||
case Ci.nsIFeed.TYPE_AUDIO:
|
||||
codeStr = "header.className = 'audioPodcastBackground'; ";
|
||||
break;
|
||||
|
||||
default:
|
||||
codeStr = "header.className = 'feedBackground'; ";
|
||||
}
|
||||
//switch (feedType) {
|
||||
// case Ci.nsIFeed.TYPE_VIDEO:
|
||||
// codeStr = "header.className = 'videoPodcastBackground'; ";
|
||||
// break;
|
||||
//
|
||||
// case Ci.nsIFeed.TYPE_AUDIO:
|
||||
// codeStr = "header.className = 'audioPodcastBackground'; ";
|
||||
// break;
|
||||
//
|
||||
// default:
|
||||
// codeStr = "header.className = 'feedBackground'; ";
|
||||
//}
|
||||
|
||||
|
||||
// Last-selected application
|
||||
|
|
Загрузка…
Ссылка в новой задаче