зеркало из https://github.com/mozilla/gecko-dev.git
Back out local changes to my flash stuff (was for testing only).
This commit is contained in:
Родитель
6a526b7c03
Коммит
ed22d7dfa6
|
@ -1,21 +1,11 @@
|
|||
<!-- -*- Mode: SGML -*- -->
|
||||
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:NC="http://home.netscape.com/NC-rdf#">
|
||||
|
||||
<RDF:Bag ID="NC:FlashDataSources">
|
||||
|
||||
<!-- The Tinderbox Flash -->
|
||||
<RDF:li>
|
||||
<RDF:Description about="http://zeeb/cgi-bin/tinder-flash.cgi?tree=SeaMonkey">
|
||||
<NC:poll-interval>60</NC:poll-interval>
|
||||
</RDF:Description>
|
||||
</RDF:li>
|
||||
|
||||
<RDF:li>
|
||||
<RDF:Description about="rdf:mailnews" />
|
||||
</RDF:li>
|
||||
|
||||
<!-- demo ware! -->
|
||||
<RDF:li resource="resource:/res/rdf/remote-flash-1.rdf" />
|
||||
<RDF:li resource="resource:/res/rdf/remote-flash-2.rdf" />
|
||||
<RDF:li resource="resource:/res/rdf/remote-flash-3.rdf" />
|
||||
</RDF:Bag>
|
||||
|
||||
<RDF:Bag ID="NC:FlashStyleSheets">
|
||||
|
|
|
@ -15,12 +15,3 @@ treeitem[type="http://home.netscape.com/NC-rdf#OnlinePresence"] > treecell > tit
|
|||
treeitem[type="http://home.netscape.com/NC-rdf#Biff"] > treecell > titledbutton {
|
||||
list-style-image: url("resource:/res/rdf/unread.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://www.mozilla.org/RDF#BustedBuild"] > treecell > titledbutton {
|
||||
list-style-image: url("file:///D|/tmp/flames.gif");
|
||||
}
|
||||
|
||||
treeitem[type="http://www.mozilla.org/RDF#TreeStatus"] > treecell > titledbutton {
|
||||
list-style-image: none;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,20 +1,4 @@
|
|||
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
// -*- Mode: Java -*-
|
||||
|
||||
// the rdf service
|
||||
var RDF = Components.classes['component://netscape/rdf/rdf-service'].getService();
|
||||
|
@ -58,7 +42,15 @@ function Init()
|
|||
try {
|
||||
// create a new RDF/XML datasource
|
||||
var flashservice =
|
||||
RDF.GetDataSource(service.Value);
|
||||
Components.classes['component://netscape/rdf/datasource?name=xml-datasource'].createInstance();
|
||||
|
||||
flashservice = flashservice.QueryInterface(Components.interfaces.nsIRDFXMLDataSource);
|
||||
|
||||
// Initialize it.
|
||||
flashservice.Init(service.Value);
|
||||
|
||||
// Read it in asynchronously.
|
||||
flashservice.Open(false);
|
||||
|
||||
// Add it to the tree control's composite datasource.
|
||||
tree.database.AddDataSource(flashservice);
|
||||
|
|
Загрузка…
Ссылка в новой задаче