Bug 13910. Fix flash panel style rules, XUL, and JS so that flashes start to display again. r=slamm.

This commit is contained in:
waterson%netscape.com 1999-10-06 21:08:50 +00:00
parent c476d618f3
commit 3a996ae835
3 changed files with 8 additions and 7 deletions

View File

@ -8,14 +8,15 @@ window {
background-color: white;
}
treeitem[type="http://www.mozilla.org/RDF#TinderboxFlash"] > treerow > treecell > titledbutton {
treeitem[type="http://www.mozilla.org/RDF#TinderboxFlash"] > treerow > treecell > .tree-icon {
list-style-image: url("chrome://sidebar/skin/flames.gif");
}
treeitem[type="http://home.netscape.com/NC-rdf#MsgNewMessages"] > treerow > treecell > titledbutton {
treeitem[type="http://home.netscape.com/NC-rdf#MsgNewMessages"] > treerow > treecell > .tree-icon {
list-style-image: url("chrome://messenger/skin/folderHasMail.gif");
}
treeitem[type="http://www.mozilla.org/rdf#XPInstallNotification"] > treerow > treecell > titledbutton {
treeitem[type="http://www.mozilla.org/rdf#XPInstallNotification"] > treerow > treecell > .tree-icon {
list-style-image: url("resource:/res/xpinstall/notification.gif");
}

View File

@ -117,7 +117,7 @@ function flashInit()
function flashReload(url, pollInterval)
{
// Reload the specified datasource and reschedule.
dump('Reload(' + url + ', ' + pollInterval + ')\n');
dump('flashReload(' + url + ', ' + pollInterval + ')\n');
var datasource = RDF.GetDataSource(url);
datasource = datasource.QueryInterface(Components.interfaces.nsIRDFRemoteDataSource);
@ -131,7 +131,7 @@ function flashReload(url, pollInterval)
function flashSchedule(url, pollInterval)
{
setTimeout('Reload("' + url + '", ' + pollInterval + ')', pollInterval * 1000);
setTimeout('flashReload("' + url + '", ' + pollInterval + ')', pollInterval * 1000);
}
function flashOpenURL(node)

View File

@ -33,9 +33,9 @@
<tree id="flash-tree"
ref="NC:FlashRoot"
style="width: 100%; height: 100%"
datasources="datasources="rdf:null"
datasources="rdf:null"
rdf:containment="http://home.netscape.com/NC-rdf#child"
onclick="OpenURL(event.target.parentNode.parentNode);">
onclick="flashOpenURL(event.target.parentNode.parentNode);">
<template>
<treechildren>