summaryrefslogtreecommitdiff
path: root/items.c
diff options
context:
space:
mode:
Diffstat (limited to 'items.c')
-rw-r--r--items.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/items.c b/items.c
index 2af0692..cf2d90f 100644
--- a/items.c
+++ b/items.c
@@ -136,6 +136,10 @@ parse_album_xml (const char *filename, TAlbum *index)
item->nofullsize = (xml_file_get_node_present (xml, s) || item->path == NULL);
g_free (s);
+ s = g_strdup_printf ("/gallery/items/*[%d]/hidden", i + 1);
+ item->hidden = (xml_file_get_node_present (xml, s));
+ g_free (s);
+
if (item->path || item->preview)
{
g_ptr_array_add (index->items, item);