зеркало из https://github.com/mozilla/pjs.git
Add Messenger Biff Notifications.
This commit is contained in:
Родитель
b0cdb06f28
Коммит
24ff7523c2
|
@ -8,6 +8,10 @@
|
|||
<NC:poll-interval>300</NC:poll-interval>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
<RDF:li>
|
||||
<!-- Messenger Flashes -->
|
||||
<RDF:Description about="rdf:msgnotifications" />
|
||||
</RDF:li>
|
||||
</RDF:Bag>
|
||||
|
||||
<RDF:Bag about="NC:FlashStyleSheets">
|
||||
|
|
|
@ -7,3 +7,7 @@
|
|||
treeitem[type="http://www.mozilla.org/RDF#TinderboxFlash"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/flames.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://home.netscape.com/NC-rdf#MsgNewMessages"] > treecell > titledbutton {
|
||||
list-style-image: url("chrome://messenger/skin/folderHasMail.gif");
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ function Init()
|
|||
// unfortunately, force it to be read synchronously the
|
||||
// first time around.
|
||||
var flashservice = RDF.GetDataSource(service.Value);
|
||||
flashservice = flashservice.QueryInterface(Components.interfaces.nsIRDFXMLDataSource);
|
||||
flashservice = flashservice.QueryInterface(Components.interfaces.nsIRDFDataSource);
|
||||
// Add it to the tree control's composite datasource.
|
||||
tree.database.AddDataSource(flashservice);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче