From 5b364e0f4776eac63d604c48dcd9671d430a1e8f Mon Sep 17 00:00:00 2001 From: "blakeross%telocity.com" Date: Thu, 6 Dec 2001 23:11:52 +0000 Subject: [PATCH] More post-bookmarksliner cleanup. r=hewitt sr=ben --- .../resources/content/personalToolbar.js | 16 ++--- .../bookmarks/resources/addBookmark.xul | 2 +- .../bookmarks/resources/bm-panel.xul | 2 +- .../bookmarks/resources/bookmarks.css | 6 +- .../bookmarks/resources/bookmarks.xml | 68 ++++++++++++++----- 5 files changed, 64 insertions(+), 30 deletions(-) diff --git a/xpfe/browser/resources/content/personalToolbar.js b/xpfe/browser/resources/content/personalToolbar.js index 3945dccc23f..cc6c6ea06ee 100644 --- a/xpfe/browser/resources/content/personalToolbar.js +++ b/xpfe/browser/resources/content/personalToolbar.js @@ -106,7 +106,7 @@ BookmarksToolbar.prototype = { editCell: function (aSelectedItem, aXXXLameAssIndex) { - goDoCommand("cmd_properties"); + goDoCommand("cmd_bm_properties"); return; // Disable Inline Edit for now. See bug 77125 for why this is being disabled // on the personal toolbar for the moment. @@ -414,12 +414,12 @@ BookmarksToolbar.prototype = { case "cmd_openfolderinnewwindow": seln = gBookmarksShell.getSelection(); return document.popupNode != null && seln[0].getAttributeNS(RDF_NS, "type") == NC_NS + "Folder"; - case "cmd_find": - case "cmd_newbookmark": - case "cmd_newfolder": - case "cmd_newseparator": - case "cmd_import": - case "cmd_export": + case "cmd_bm_find": + case "cmd_bm_newbookmark": + case "cmd_bm_newfolder": + case "cmd_bm_newseparator": + case "cmd_bm_import": + case "cmd_bm_export": return true; case "cmd_bm_properties": case "cmd_bm_rename": @@ -472,7 +472,7 @@ BookmarksToolbar.prototype = { case "cmd_bm_import": case "cmd_bm_export": case "cmd_bm_fileBookmark": - gBookmarksShell.execCommand(aCommand.substring("cmd_bm_".length)); + gBookmarksShell.execCommand(aCommand.substring("cmd_".length)); break; case "cmd_bm_selectAll": break; diff --git a/xpfe/components/bookmarks/resources/addBookmark.xul b/xpfe/components/bookmarks/resources/addBookmark.xul index ada236c6555..c2cc5521a4b 100644 --- a/xpfe/components/bookmarks/resources/addBookmark.xul +++ b/xpfe/components/bookmarks/resources/addBookmark.xul @@ -86,7 +86,7 @@