summaryrefslogtreecommitdiff
path: root/src/job-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/job-manager.c')
-rw-r--r--src/job-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/job-manager.c b/src/job-manager.c
index fd41550..1bf9c5c 100644
--- a/src/job-manager.c
+++ b/src/job-manager.c
@@ -301,8 +301,8 @@ build_tree (TGallerySetup *setup,
for (l = g_list_first (setup->design->image_sizes); l; l = g_list_next (l)) {
image_size = l->data;
g_assert (image_size != NULL);
- /* We don't allow having single pictures in index pages at the moment, might change in the future */
- if (items->type != GALLERY_TYPE_INDEX || g_ascii_strcasecmp (image_size->name, "thumbnail") == 0) {
+ /* We don't allow having pictures in index pages at the moment, might change in the future */
+ if (items->type != GALLERY_TYPE_INDEX || image_size->is_thumbnail) {
s1 = g_strdup_printf ("%s%s", TARGET_IMAGE_DIR_PREFIX, image_size->name);
s2 = g_build_path (G_DIR_SEPARATOR_S, path_info->dest_dir, s1, NULL);
g_free (s1);