containerUtils;
- if (NS_SUCCEEDED(rv = NS_NewRDFContainerUtils(getter_AddRefs(containerUtils))))
- {
- strm << indentation;
- strm << "\n";
-
- nsCOMPtr children;
- if (NS_SUCCEEDED(rv = container->GetElements(getter_AddRefs(children))))
- {
- PRBool more = PR_TRUE;
- while (more == PR_TRUE)
- {
- if (NS_FAILED(rv = children->HasMoreElements(&more))) break;
- if (more != PR_TRUE) break;
-
- nsCOMPtr iSupports;
- if (NS_FAILED(rv = children->GetNext(getter_AddRefs(iSupports)))) break;
-
- nsCOMPtr child = do_QueryInterface(iSupports);
- if (!child) break;
-
- PRBool isIERoot = PR_FALSE, isContainer = PR_FALSE;
- if (NS_SUCCEEDED(child->EqualsResource(kNC_IEFavoritesRoot, &isIERoot)))
- {
- if (isIERoot == PR_FALSE)
- {
- if (NS_SUCCEEDED(rv = containerUtils->IsContainer(ds, child, &isContainer)))
- {
- }
- }
- }
-
- nsCOMPtr nameNode;
- nsAutoString nameString("");
- char *name = nsnull;
- if (NS_SUCCEEDED(rv = ds->GetTarget(child, kNC_Name, PR_TRUE, getter_AddRefs(nameNode))))
- {
- nsCOMPtr nameLiteral = do_QueryInterface(nameNode);
- PRUnichar *title = nsnull;
- if (NS_SUCCEEDED(rv = nameLiteral->GetValue(&title)))
- {
- nameString = title;
- name = nameString.ToNewCString();
- }
-
- }
-
- strm << indentation;
- strm << " ";
- if (isContainer == PR_TRUE)
- {
- strm << "GetValue(getter_Copies(id));
- if (NS_SUCCEEDED(rv) && (id)) {
- strm << (const char*) id;
- }
- strm << "\"";
-
- strm << ">";
-
- // output title
- if (name) strm << name;
- strm << "
\n";
- rv = WriteBookmarksContainer(ds, strm, child, level+1);
- }
- else
- {
- char *url = nsnull;
- if (NS_SUCCEEDED(rv = child->GetValue(&url)))
- {
- if (url)
- {
- nsAutoString uri(url);
- // XXX What's the best way to determine if its a separator?
- if (uri.Find(kURINC_BookmarksRoot) == 0)
- {
- // its a separator
- strm << "
\n";
- }
- else
- {
- strm << "- ";
- // output title
- if (name) strm << name;
- strm << "\n";
- }
- }
- }
- }
-
- if (nsnull != name)
- {
- delete []name;
- name = nsnull;
- }
-
- if (NS_FAILED(rv)) break;
- }
- }
- strm << indentation;
- strm << "
\n";
- }
- }
- delete [] indentation;
- return(rv);
-}
-
-
-nsresult
-BookmarkDataSourceImpl::WriteBookmarkProperties(nsIRDFDataSource *ds, nsOutputFileStream strm,
- nsIRDFResource *child, nsIRDFResource *property, const char *htmlAttrib, PRBool isFirst)
-{
- nsresult rv;
- nsCOMPtr node;
- if (NS_SUCCEEDED(rv = ds->GetTarget(child, property, PR_TRUE, getter_AddRefs(node))))
- {
- nsCOMPtr literal = do_QueryInterface(node);
- if (literal)
- {
- PRUnichar *literalUni = nsnull;
- if (NS_SUCCEEDED(rv = literal->GetValue(&literalUni)))
- {
- nsAutoString literalString = literalUni;
- char *attribute = literalString.ToNewCString();
- if (nsnull != attribute)
- {
- if (isFirst == PR_FALSE)
- {
- strm << " ";
- }
- strm << htmlAttrib;
- strm << attribute;
- strm << "\"";
- delete [] attribute;
- attribute = nsnull;
- }
- }
- }
- }
- return(rv);
-}
-
-
-PRBool
-BookmarkDataSourceImpl::CanAccept(nsIRDFResource* aSource,
- nsIRDFResource* aProperty,
- nsIRDFNode* aTarget)
-{
- // XXX This is really crippled, and needs to be stricter. We want
- // to exclude any property that isn't talking about a known
- // bookmark.
- nsresult rv;
- NS_WITH_SERVICE(nsIRDFContainerUtils, rdfc, kRDFContainerUtilsCID, &rv);
- if (NS_FAILED(rv))
- return PR_FALSE;
-
- PRBool isOrdinal;
- rv = rdfc->IsOrdinalProperty(aProperty, &isOrdinal);
- if (NS_FAILED(rv))
- return PR_FALSE;
-
- if (isOrdinal) {
- return PR_TRUE;
- }
- else if ((aProperty != kRDF_type) ||
- (aProperty != kWEB_LastModifiedDate) ||
- (aProperty != kWEB_LastVisitDate) ||
- (aProperty != kNC_Name) ||
- (aProperty != kNC_BookmarkAddDate)) {
- return PR_TRUE;
- }
- else {
- return PR_FALSE;
- }
-}
-
-////////////////////////////////////////////////////////////////////////////////
-
-#if 0
-#include "nsXPComFactory.h"
-
-NS_DEF_FACTORY(BookmarkDataSource,BookmarkDataSourceImpl)
-
-nsresult
-NS_NewRDFBookmarkDataSourceFactory(nsIFactory** aResult)
-{
- nsresult rv = NS_OK;
- nsIFactory* inst = new nsBookmarkDataSourceFactory;
- if (NULL == inst) {
- rv = NS_ERROR_OUT_OF_MEMORY;
- } else {
- NS_ADDREF(inst);
- }
- *aResult = inst;
- return rv;
-}
-#endif
-
-nsresult
-NS_NewRDFBookmarkDataSource(nsIRDFDataSource** result)
-{
- BookmarkDataSourceImpl* ds = new BookmarkDataSourceImpl();
- if (! ds)
- return NS_ERROR_NULL_POINTER;
-
- *result = ds;
- NS_ADDREF(*result);
- return NS_OK;
-}
diff --git a/mozilla/rdf/datasource/src/nsRDFBuiltInDataSources.h b/mozilla/rdf/datasource/src/nsRDFBuiltInDataSources.h
index 682a59e6e66..f39324d3197 100644
--- a/mozilla/rdf/datasource/src/nsRDFBuiltInDataSources.h
+++ b/mozilla/rdf/datasource/src/nsRDFBuiltInDataSources.h
@@ -32,10 +32,6 @@
#include "nsError.h"
class nsIRDFDataSource;
-class nsIRDFDataBase;
-
-// in nsBookmarkDataSource.cpp
-nsresult NS_NewRDFBookmarkDataSource(nsIRDFDataSource** result);
// in nsFileSystemDataSource.cpp
nsresult NS_NewRDFFileSystemDataSource(nsIRDFDataSource** result);
@@ -49,9 +45,6 @@ nsresult NS_NewRDFFindDataSource(nsIRDFDataSource** result);
// in nsFTPDataSource.cpp
nsresult NS_NewRDFFTPDataSource(nsIRDFDataSource** result);
-// in nsRelatedLinksDataSource.cpp
-nsresult NS_NewRDFRelatedLinksDataSource(nsIRDFDataSource **result);
-
#endif // nsBuiltinDataSources_h__
diff --git a/mozilla/rdf/macbuild/rdf.mcp b/mozilla/rdf/macbuild/rdf.mcp
index 93677861294..9c4c7b67d8b 100644
Binary files a/mozilla/rdf/macbuild/rdf.mcp and b/mozilla/rdf/macbuild/rdf.mcp differ
diff --git a/mozilla/rdf/resources/Makefile.in b/mozilla/rdf/resources/Makefile.in
index 75500a45100..6c3157b86c2 100644
--- a/mozilla/rdf/resources/Makefile.in
+++ b/mozilla/rdf/resources/Makefile.in
@@ -27,17 +27,8 @@ include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
FILES = \
- bookmarks.html \
history.css \
history.xul \
- bm-panel.xul \
- bm-props.xul \
- bookmark-folder-closed.gif \
- bookmark-folder-open.gif \
- bookmark-item.gif \
- bookmarks.css \
- bookmarks.js \
- bookmarks.xul \
document.gif \
dom-test-1.css \
dom-test-1.xul \
@@ -53,12 +44,9 @@ FILES = \
flames.gif \
folder-closed.gif \
folder-open.gif \
- iefavorite.gif \
ignore-test.xul \
loading.gif \
online.gif \
- personal-folder-closed.gif \
- personal-folder-open.gif \
remote-flash-1.rdf \
remote-flash-2.rdf \
remote-flash-3.rdf \
diff --git a/mozilla/rdf/resources/bm-panel.xul b/mozilla/rdf/resources/bm-panel.xul
deleted file mode 100644
index fb4409cc971..00000000000
--- a/mozilla/rdf/resources/bm-panel.xul
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Name
-
-
-
- URL
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/rdf/resources/bm-props.xul b/mozilla/rdf/resources/bm-props.xul
deleted file mode 100644
index 17a171f5b20..00000000000
--- a/mozilla/rdf/resources/bm-props.xul
+++ /dev/null
@@ -1,98 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/rdf/resources/bookmark-folder-closed.gif b/mozilla/rdf/resources/bookmark-folder-closed.gif
deleted file mode 100644
index d8f072037f3..00000000000
Binary files a/mozilla/rdf/resources/bookmark-folder-closed.gif and /dev/null differ
diff --git a/mozilla/rdf/resources/bookmark-folder-open.gif b/mozilla/rdf/resources/bookmark-folder-open.gif
deleted file mode 100644
index 12e67a19417..00000000000
Binary files a/mozilla/rdf/resources/bookmark-folder-open.gif and /dev/null differ
diff --git a/mozilla/rdf/resources/bookmark-item.gif b/mozilla/rdf/resources/bookmark-item.gif
deleted file mode 100644
index 02d55f528ed..00000000000
Binary files a/mozilla/rdf/resources/bookmark-item.gif and /dev/null differ
diff --git a/mozilla/rdf/resources/bookmarks.css b/mozilla/rdf/resources/bookmarks.css
deleted file mode 100644
index ae8c2f9174d..00000000000
--- a/mozilla/rdf/resources/bookmarks.css
+++ /dev/null
@@ -1,126 +0,0 @@
-window {
- display: block;
- background-color: #FFFFFF;
-}
-
-menubar {
- display: none;
-}
-
-tree {
- display: table;
- background-color: #FFFFFF;
- border: none;
- border-spacing: 0px;
- width: 100%;
-}
-
-treecol {
- display: table-column;
- width: 200px;
-}
-
-treeitem {
- display: table-row;
-}
-
-treehead {
- display: table-header-group;
-}
-
-treebody {
- display: table-row-group;
-}
-
-treecell {
- display: table-cell;
- font-family: Verdana, Sans-Serif;
- font-size: 8pt;
-}
-
-treecell[selectedcell] {
- background-color: yellow;
- }
-
-treecell[sortActive="true"][sortDirection="ascending"] {
- background-color: green;
- }
-
-treecell[sortActive="true"][sortDirection="descending"] {
- background-color: red;
- }
-
-treecol[sortActive="true"] {
- background-color: lightgreen;
-}
-
-treehead treeitem treecell {
- background-color: #c0c0c0;
- border: outset 1px;
- border-color: white #707070 #707070 white;
- padding-left: 4px;
-}
-
-treecell[selectedcell] {
- background-color: yellow;
-}
-
-treeitem[container="true"][open="true"][loading="true"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/loading.gif") ! important ;
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/bookmark-folder-closed.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/bookmark-folder-open.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/personal-folder-closed.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/personal-folder-open.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/bookmark-item.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/IEFavorite.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/bookmark-item.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/folder-open.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/folder-closed.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/article.gif");
-}
-
-treeitem[container="true"][open="true"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/folder-open.gif");
-}
-
-treeitem[container="true"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/folder-closed.gif");
-}
-
-treeitem > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/document.gif");
-}
-
-titledbutton#bookmarks {
- list-style-image:url("resource:/res/rdf/bookmark-item.gif");
-}
diff --git a/mozilla/rdf/resources/bookmarks.html b/mozilla/rdf/resources/bookmarks.html
deleted file mode 100644
index aaccc1d7d5b..00000000000
--- a/mozilla/rdf/resources/bookmarks.html
+++ /dev/null
@@ -1,151 +0,0 @@
-
-
-Bookmarks for temp
-Bookmarks for temp
-
-
-
Sample FTP URLs
-
-
- FTP: Netscape
-
- FTP: XPNav
-
-
Sample SmartFind queries
-
-
- Find: Bookmark Names containing 'Netscape'
-
- Find: Bookmark Names starting with 'A'
-
- Find: Bookmark Names ending with '.com'
-
- Find: Bookmark Names containing 'Mac'
-
- Find: Bookmark URLs containing 'mac'
-
-
Personal Toolbar Folder
-
-
- Mozilla.org
-
- Tinderbox
-
- Bonsai
-
- Bugzilla
-
Channels
-
-
- Autos
-
- Business
-
- Computing and Internet
-
- Education
-
- Entertainment
-
- Games
-
- Health
-
- Kids and Family
-
- Lifestyles
-
- Local
-
- Netscape
-
- News
-
- Personal Finance
-
- Real Estate
-
- Shopping
-
- Sports
-
- Travel
-
-
-
- Search
-
-
- Alta Vista
-
- Excite
-
- GoTo.com
-
- Infoseek
-
- LookSmart
-
- Lycos
-
- Netscape Search
-
-
Business and Finance
-
-
- Career Center
-
- CBS.MarketWatch
-
- Datek Online
-
- dbusiness.com
-
- Gartner Group, Inc.
-
- NextCard Internet Visa
-
- Personal Finance
-
- Small Business Source
-
- Virtual Office by Netopia
-
-
Computers and Internet
-
-
- @vantage
-
- Computing Channel
-
- Netscape Channel
-
- ONSALE Computer Auctions
-
- Open Studio
-
- Professional Connections
-
- SmartUpdate
-
- Toshiba
-
-
Directories
-
-
- GTE SuperPages
-
- Member Directory
-
- Netcenter Yellow Pages
-
- People
-
- Thomas Register
-
- Web Directory
-
- YellowPages AtHand
-
-
Entertainment and Lifestyle
-
-
- Entertainment Channel
-
- Games
-
- Health
-
- Kids and Family
-
- Lifestyle Channel
-
- theglobe.com community
-
- TV Guide
-
- Women.com
-
-
News and Sports
-
-
- ABCNEWS.com
-
- Business Journal
-
- CBS SportsLine
-
- In-Box Direct
-
- News Channel
-
- Sports Channel
-
-
Shopping and Classifieds
-
-
- Amazon.com
-
- Audio Book Club
-
- DealDeal.com Auctions
-
- FreeRide
-
- FTD Flowers
-
- Music Boulevard
-
- netMarket
-
- Real Estate
-
- Rent.Net
-
- Software Depot
-
-
Travel and Leisure
-
-
- Leisure Planet
-
- Local
-
- Renaissance Cruises
-
- Travelocity
-
-
Macintosh Resources
-
-
- Mac OS Rumors
-
- MacSurfer
-
- Macintouch
-
- MacWEEK
-
- O'Grady's Mac PowerPage
-
-
AAA URLs with no redirection
-
-
- Netscape
-
- Yahoo
-
- AOL
-
-
- Personal Bookmarks
-
-
-
diff --git a/mozilla/rdf/resources/bookmarks.js b/mozilla/rdf/resources/bookmarks.js
deleted file mode 100644
index 3ed0ba1c778..00000000000
--- a/mozilla/rdf/resources/bookmarks.js
+++ /dev/null
@@ -1,108 +0,0 @@
-// -*- Mode: Java -*-
-
-function BookmarksNewWindow()
-{
- var toolkitCore = XPAppCoresManager.Find("toolkitCore");
- if (!toolkitCore) {
- toolkitCore = new ToolkitCore();
- if (toolkitCore) {
- toolkitCore.Init("toolkitCore");
- }
- }
- if (toolkitCore) {
- toolkitCore.ShowWindow("resource://res/rdf/bookmarks.xul",window);
- }
-}
-
-function BookmarkProperties()
-{
- var tree = document.getElementById('bookmarksTree');
- var select_list = tree.getElementsByAttribute("selected", "true");
-
- if (select_list.length >= 1) {
- dump("Bookmark Properties: Have selection\n");
- var propsCore = XPAppCoresManager.Find(select_list[0].id);
- if (!propsCore) {
- dump("Bookmark Properties: no existing appcore\n");
- var propsCore = new DOMPropsCore();
- if (propsCore) {
- dump("Bookmark Properties: initing new appcore\n");
- propsCore.Init(select_list[0].id);
- } else {
- dump("Bookmark Properties: failed to create new appcore\n");
- }
- }
- if (propsCore) {
- dump("Bookmark Properties: opening new window\n");
- propsCore.showProperties("resource://res/rdf/bm-props.xul",
- window, select_list[0]);
- return true;
- }
- } else {
- dump("nothing selected!\n");
- }
- return false;
-}
-
-function OpenURL(event,node)
-{
- if (node.getAttribute('container') == "true") {
- return false;
- }
- url = node.getAttribute('id');
-
- // Ignore "NC:" urls.
- if (url.substring(0, 3) == "NC:") {
- return false;
- }
-
- /*window.open(url,'bookmarks');*/
- var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
- if (!toolkitCore) {
- toolkitCore = new ToolkitCore();
- if (toolkitCore) {
- toolkitCore.Init("ToolkitCore");
- }
- }
- if (toolkitCore) {
- toolkitCore.ShowWindow(url,window);
- }
-
- dump("OpenURL(" + url + ")\n");
-
- return true;
-}
-
-function doSort(sortColName)
-{
- var node = document.getElementById(sortColName);
- // determine column resource to sort on
- var sortResource = node.getAttribute('resource');
- if (!node) return(false);
-
- var sortDirection="ascending";
- var isSortActive = node.getAttribute('sortActive');
- if (isSortActive == "true") {
- var currentDirection = node.getAttribute('sortDirection');
- if (currentDirection == "ascending")
- sortDirection = "descending";
- else if (currentDirection == "descending")
- sortDirection = "natural";
- else
- sortDirection = "ascending";
- }
-
- // get RDF Core service
- var rdfCore = XPAppCoresManager.Find("RDFCore");
- if (!rdfCore) {
- rdfCore = new RDFCore();
- if (!rdfCore) {
- return(false);
- }
- rdfCore.Init("RDFCore");
-// XPAppCoresManager.Add(rdfCore);
- }
- // sort!!!
- rdfCore.doSort(node, sortResource, sortDirection);
- return(false);
-}
diff --git a/mozilla/rdf/resources/bookmarks.xul b/mozilla/rdf/resources/bookmarks.xul
deleted file mode 100644
index 12e7fc8a9b3..00000000000
--- a/mozilla/rdf/resources/bookmarks.xul
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- &tree.header.name.label;
-
-
-
- &tree.header.url.label;
-
-
-
- &tree.header.shortcut.label;
-
-
-
-
-
-
-
-
-
diff --git a/mozilla/rdf/resources/iefavorite.gif b/mozilla/rdf/resources/iefavorite.gif
deleted file mode 100644
index cba35c4225a..00000000000
Binary files a/mozilla/rdf/resources/iefavorite.gif and /dev/null differ
diff --git a/mozilla/rdf/resources/makefile.win b/mozilla/rdf/resources/makefile.win
index d59b5e51da6..18933a8cb73 100644
--- a/mozilla/rdf/resources/makefile.win
+++ b/mozilla/rdf/resources/makefile.win
@@ -21,17 +21,8 @@ MODULE=rdf
include <$(DEPTH)\config\rules.mak>
FILES=\
- bookmarks.html \
history.css \
history.xul \
- bm-panel.xul \
- bm-props.xul \
- bookmark-folder-closed.gif \
- bookmark-folder-open.gif \
- bookmark-item.gif \
- bookmarks.css \
- bookmarks.js \
- bookmarks.xul \
document.gif \
dom-test-1.css \
dom-test-1.xul \
@@ -47,12 +38,9 @@ FILES=\
flames.gif \
folder-closed.gif \
folder-open.gif \
- iefavorite.gif \
ignore-test.xul \
loading.gif \
online.gif \
- personal-folder-closed.gif \
- personal-folder-open.gif \
remote-flash-1.rdf \
remote-flash-2.rdf \
remote-flash-3.rdf \
diff --git a/mozilla/rdf/resources/personal-folder-closed.gif b/mozilla/rdf/resources/personal-folder-closed.gif
deleted file mode 100644
index 69fa1c09379..00000000000
Binary files a/mozilla/rdf/resources/personal-folder-closed.gif and /dev/null differ
diff --git a/mozilla/rdf/resources/personal-folder-open.gif b/mozilla/rdf/resources/personal-folder-open.gif
deleted file mode 100644
index 01733f4f780..00000000000
Binary files a/mozilla/rdf/resources/personal-folder-open.gif and /dev/null differ
diff --git a/mozilla/rdf/resources/sidebar-browser.rdf b/mozilla/rdf/resources/sidebar-browser.rdf
index 3395cdd3498..6bcb62001df 100644
--- a/mozilla/rdf/resources/sidebar-browser.rdf
+++ b/mozilla/rdf/resources/sidebar-browser.rdf
@@ -35,8 +35,8 @@
&sidebar.bookmarks.label;
- resource://res/rdf/bm-panel.xul
- resource://res/rdf/bm-panel-cust.xul
+ resource://res/samples/bm-panel.xul
+ resource://res/samples/bm-panel-cust.xul
diff --git a/mozilla/rdf/resources/sidebar.css b/mozilla/rdf/resources/sidebar.css
index 1045eab472f..37752880327 100644
--- a/mozilla/rdf/resources/sidebar.css
+++ b/mozilla/rdf/resources/sidebar.css
@@ -75,34 +75,6 @@ treeitem[container="true"][open="true"][loading="true"] > treecell > titledbutto
list-style-image: url("resource:/res/rdf/loading.gif") ! important ;
}
-treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/bookmark-folder-closed.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/bookmark-folder-open.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/personal-folder-closed.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#Folder"][id="NC:PersonalToolbarFolder"][open="true"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/personal-folder-open.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#BookmarkSeparator"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/bookmark-item.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#IEFavorite"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/IEFavorite.gif");
-}
-
-treeitem[type="http://home.netscape.com/NC-rdf#Bookmark"] > treecell > titledbutton {
- list-style-image: url("resource:/res/rdf/bookmark-item.gif");
-}
-
treeitem[type="http://home.netscape.com/NC-rdf#FileSystemObject"][container="true"][open="true"] > treecell > titledbutton {
list-style-image: url("resource:/res/rdf/folder-open.gif");
}
@@ -127,10 +99,6 @@ treeitem > treecell > titledbutton {
list-style-image: url("resource:/res/rdf/document.gif");
}
-titledbutton#bookmarks {
- list-style-image:url("resource:/res/rdf/bookmark-item.gif");
-}
-
toolbar#sidebarbar titledbutton{
color:#CCCCFF;
}