From d86c189158cb345e351190e362672a8485a52117 Mon Sep 17 00:00:00 2001
From: Ryan Horiguchi
${allItemsToHTML (indentLevel + 1) directory.bookmarks}
${indent indentLevel}
+
+ ${escapeXML directory.name}
+ ${indent indentLevel}Bookmarks Toolbar''
+ else
+ "
${escapeXML directory.name}"
+ }
${indent indentLevel}
'';
@@ -287,6 +292,12 @@ in {
default = [ ];
description = "Bookmarks within directory.";
};
+
+ toolbar = mkOption {
+ type = types.bool;
+ default = false;
+ description = "If directory should be shown in toolbar.";
+ };
};
}) // {
description = "directory submodule";
diff --git a/tests/modules/programs/firefox/profile-settings-expected-bookmarks.html b/tests/modules/programs/firefox/profile-settings-expected-bookmarks.html
index 4ba0bc600..2907a66cf 100644
--- a/tests/modules/programs/firefox/profile-settings-expected-bookmarks.html
+++ b/tests/modules/programs/firefox/profile-settings-expected-bookmarks.html
@@ -6,6 +6,10 @@
Bookmarks Menu
Bookmarks Toolbar
+