mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 06:05:44 +00:00
Bug 13910. Fix flash panel style rules, XUL, and JS so that flashes start to display again. r=slamm.
This commit is contained in:
parent
c476d618f3
commit
3a996ae835
@ -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");
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user