diff options
Diffstat (limited to 'items.c')
| -rw-r--r-- | items.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |
