зеркало из https://github.com/mozilla/pjs.git
Fix for new twisty syntax.
This commit is contained in:
Родитель
a9274f72f9
Коммит
85dd7df113
|
@ -19,14 +19,16 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<?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:div style="width:100px;height:100px" flex="1">
|
||||||
<html:script src="bookmarks.js"/>
|
<html:script src="bookmarks.js"/>
|
||||||
|
|
||||||
<popup id="contextual" oncreate="return fillContextMenu('contextual');" >
|
<popup id="contextual" oncreate="return fillContextMenu('contextual');" >
|
||||||
|
@ -34,11 +36,10 @@
|
||||||
</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>
|
||||||
|
@ -56,18 +57,15 @@
|
||||||
<treechildren>
|
<treechildren>
|
||||||
<treeitem uri="...">
|
<treeitem uri="...">
|
||||||
<treerow>
|
<treerow>
|
||||||
<treecell>
|
<treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Name" />
|
||||||
<treeindentation />
|
|
||||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
||||||
align="left" />
|
|
||||||
</treecell>
|
|
||||||
</treerow>
|
</treerow>
|
||||||
</treeitem>
|
</treeitem>
|
||||||
</treechildren>
|
</treechildren>
|
||||||
</rule>
|
</rule>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
||||||
</tree>
|
</tree>
|
||||||
|
</html:div>
|
||||||
</window>
|
</window>
|
||||||
|
|
||||||
|
|
|
@ -19,14 +19,16 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<?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:div style="width:100px;height:100px" flex="1">
|
||||||
<html:script src="bookmarks.js"/>
|
<html:script src="bookmarks.js"/>
|
||||||
|
|
||||||
<popup id="contextual" oncreate="return fillContextMenu('contextual');" >
|
<popup id="contextual" oncreate="return fillContextMenu('contextual');" >
|
||||||
|
@ -34,11 +36,10 @@
|
||||||
</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>
|
||||||
|
@ -56,18 +57,15 @@
|
||||||
<treechildren>
|
<treechildren>
|
||||||
<treeitem uri="...">
|
<treeitem uri="...">
|
||||||
<treerow>
|
<treerow>
|
||||||
<treecell>
|
<treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Name" />
|
||||||
<treeindentation />
|
|
||||||
<titledbutton value="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
||||||
align="left" />
|
|
||||||
</treecell>
|
|
||||||
</treerow>
|
</treerow>
|
||||||
</treeitem>
|
</treeitem>
|
||||||
</treechildren>
|
</treechildren>
|
||||||
</rule>
|
</rule>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
<treecol id="NameColumn" rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
|
||||||
</tree>
|
</tree>
|
||||||
|
</html:div>
|
||||||
</window>
|
</window>
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче