diff --git a/toolkit/content/customizeToolbar.js b/toolkit/content/customizeToolbar.js
index d5288776ba..7400aaadc6 100644
--- a/toolkit/content/customizeToolbar.js
+++ b/toolkit/content/customizeToolbar.js
@@ -180,8 +180,8 @@ function persistCurrentSets()
// Persist custom toolbar info on the
// Attributes:
// Names: "toolbarX" (X - the number of the toolbar)
- // Values: "Name:HidingAttributeName-HidingAttributeValue:CurrentSet"
- gToolbox.toolbarset.setAttribute("toolbar"+(++customCount),
+ // Values: "Name|HidingAttributeName-HidingAttributeValue|CurrentSet"
+ gToolbox.toolbarset.setAttribute("toolbar" + (++customCount),
toolbar.toolbarName
+ gToolbarInfoSeparators[0]
+ hidingAttribute
diff --git a/toolkit/content/widgets/toolbar.xml b/toolkit/content/widgets/toolbar.xml
index e79843dbda..c371be317b 100644
--- a/toolkit/content/widgets/toolbar.xml
+++ b/toolkit/content/widgets/toolbar.xml
@@ -30,7 +30,7 @@
- []
+ []
@@ -50,22 +50,52 @@