зеркало из https://github.com/mozilla/pjs.git
Fix for new twisty syntax.
This commit is contained in:
Родитель
a9274f72f9
Коммит
85dd7df113
|
@ -19,55 +19,53 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||||
<?xml-stylesheet href="chrome://sidebar/skin/" type="text/css"?>
|
<!-- <?xml-stylesheet href="chrome://sidebar/skin/" type="text/css"?> -->
|
||||||
<?xml-stylesheet href="chrome://bookmarks/skin/" type="text/css"?>
|
<?xml-stylesheet href="chrome://bookmarks/skin/" type="text/css"?>
|
||||||
|
|
||||||
<window
|
<window
|
||||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
|
align="vertical">
|
||||||
|
|
||||||
<html:script src="bookmarks.js"/>
|
<html:div style="width:100px;height:100px" flex="1">
|
||||||
|
<html:script src="bookmarks.js"/>
|
||||||
|
|
||||||
<popup id="contextual" oncreate="return fillContextMenu('contextual');" >
|
<popup id="contextual" oncreate="return fillContextMenu('contextual');" >
|
||||||
<menu />
|
<menu />
|
||||||
</popup>
|
</popup>
|
||||||
|
|
||||||
<tree id="bookmarksTree" context="contextual" ref="NC:BookmarksRoot"
|
<tree id="bookmarksTree" context="contextual" ref="NC:BookmarksRoot"
|
||||||
flex="100%" style="height: 100%"
|
style="height: 100%; width:100%;"
|
||||||
datasources="rdf:bookmarks rdf:files rdf:ftp rdf:find rdf:internetsearch"
|
datasources="rdf:bookmarks rdf:files rdf:ftp rdf:find rdf:internetsearch"
|
||||||
ondblclick="return OpenURL(event, event.target.parentNode.parentNode, 'bookmarksTree');">
|
ondblclick="return OpenURL(event, event.target.parentNode.parentNode, 'bookmarksTree');">
|
||||||
|
|
||||||
<!-- Commented out until new tree content model and template builder can play nice -->
|
<template>
|
||||||
<template>
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
||||||
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
<treechildren>
|
||||||
<treechildren>
|
<treeitem uri="...">
|
||||||
<treeitem uri="...">
|
<treerow>
|
||||||
<treerow>
|
<treecell>
|
||||||
<treecell>
|
<html:hr width="75%" align="center" size="1" />
|
||||||
<html:hr width="75%" align="center" size="1" />
|
</treecell>
|
||||||
</treecell>
|
</treerow>
|
||||||
</treerow>
|
</treeitem>
|
||||||
</treeitem>
|
</treechildren>
|
||||||
</treechildren>
|
</rule>
|
||||||
</rule>
|
|
||||||
|
|
||||||
<rule>
|
|
||||||
<treechildren>
|
|
||||||
<treeitem uri="...">
|
|
||||||
<treerow>
|
|
||||||
<treecell>
|
|
||||||
<treeindentation />
|
|
||||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
||||||
align="left" />
|
|
||||||
</treecell>
|
|
||||||
</treerow>
|
|
||||||
</treeitem>
|
|
||||||
</treechildren>
|
|
||||||
</rule>
|
|
||||||
</template>
|
|
||||||
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
|
||||||
</tree>
|
|
||||||
|
|
||||||
|
<rule>
|
||||||
|
<treechildren>
|
||||||
|
<treeitem uri="...">
|
||||||
|
<treerow>
|
||||||
|
<treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Name" />
|
||||||
|
</treerow>
|
||||||
|
</treeitem>
|
||||||
|
</treechildren>
|
||||||
|
</rule>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
||||||
|
</tree>
|
||||||
|
</html:div>
|
||||||
</window>
|
</window>
|
||||||
|
|
||||||
|
|
|
@ -19,55 +19,53 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||||
<?xml-stylesheet href="chrome://sidebar/skin/" type="text/css"?>
|
<!-- <?xml-stylesheet href="chrome://sidebar/skin/" type="text/css"?> -->
|
||||||
<?xml-stylesheet href="chrome://bookmarks/skin/" type="text/css"?>
|
<?xml-stylesheet href="chrome://bookmarks/skin/" type="text/css"?>
|
||||||
|
|
||||||
<window
|
<window
|
||||||
xmlns:html="http://www.w3.org/TR/REC-html40"
|
xmlns:html="http://www.w3.org/TR/REC-html40"
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
|
align="vertical">
|
||||||
|
|
||||||
<html:script src="bookmarks.js"/>
|
<html:div style="width:100px;height:100px" flex="1">
|
||||||
|
<html:script src="bookmarks.js"/>
|
||||||
|
|
||||||
<popup id="contextual" oncreate="return fillContextMenu('contextual');" >
|
<popup id="contextual" oncreate="return fillContextMenu('contextual');" >
|
||||||
<menu />
|
<menu />
|
||||||
</popup>
|
</popup>
|
||||||
|
|
||||||
<tree id="bookmarksTree" context="contextual" ref="NC:BookmarksRoot"
|
<tree id="bookmarksTree" context="contextual" ref="NC:BookmarksRoot"
|
||||||
flex="100%" style="height: 100%"
|
style="height: 100%; width:100%;"
|
||||||
datasources="rdf:bookmarks rdf:files rdf:ftp rdf:find rdf:internetsearch"
|
datasources="rdf:bookmarks rdf:files rdf:ftp rdf:find rdf:internetsearch"
|
||||||
ondblclick="return OpenURL(event, event.target.parentNode.parentNode, 'bookmarksTree');">
|
ondblclick="return OpenURL(event, event.target.parentNode.parentNode, 'bookmarksTree');">
|
||||||
|
|
||||||
<!-- Commented out until new tree content model and template builder can play nice -->
|
<template>
|
||||||
<template>
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
||||||
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
<treechildren>
|
||||||
<treechildren>
|
<treeitem uri="...">
|
||||||
<treeitem uri="...">
|
<treerow>
|
||||||
<treerow>
|
<treecell>
|
||||||
<treecell>
|
<html:hr width="75%" align="center" size="1" />
|
||||||
<html:hr width="75%" align="center" size="1" />
|
</treecell>
|
||||||
</treecell>
|
</treerow>
|
||||||
</treerow>
|
</treeitem>
|
||||||
</treeitem>
|
</treechildren>
|
||||||
</treechildren>
|
</rule>
|
||||||
</rule>
|
|
||||||
|
|
||||||
<rule>
|
|
||||||
<treechildren>
|
|
||||||
<treeitem uri="...">
|
|
||||||
<treerow>
|
|
||||||
<treecell>
|
|
||||||
<treeindentation />
|
|
||||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
||||||
align="left" />
|
|
||||||
</treecell>
|
|
||||||
</treerow>
|
|
||||||
</treeitem>
|
|
||||||
</treechildren>
|
|
||||||
</rule>
|
|
||||||
</template>
|
|
||||||
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
|
||||||
</tree>
|
|
||||||
|
|
||||||
|
<rule>
|
||||||
|
<treechildren>
|
||||||
|
<treeitem uri="...">
|
||||||
|
<treerow>
|
||||||
|
<treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Name" />
|
||||||
|
</treerow>
|
||||||
|
</treeitem>
|
||||||
|
</treechildren>
|
||||||
|
</rule>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
||||||
|
</tree>
|
||||||
|
</html:div>
|
||||||
</window>
|
</window>
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче