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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/job-manager.c b/src/job-manager.c
index 1e088f8..c2188a9 100644
--- a/src/job-manager.c
+++ b/src/job-manager.c
@@ -224,7 +224,7 @@ build_tree (TGallerySetup *setup,
}
/* Read the index file and fill items array */
- items = parse_album_xml (idx_file);
+ items = parse_album_xml (idx_file, path_info);
if (! items) {
log_error ("error reading index file '%s'\n", idx_file);
g_free (idx_file);
@@ -394,6 +394,7 @@ build_tree (TGallerySetup *setup,
child_path_info->dest_root = g_strdup (path_info->dest_root);
child_path_info->src_dir = g_build_path (G_DIR_SEPARATOR_S, path_info->src_dir, item->path, NULL);
child_path_info->dest_dir = g_build_path (G_DIR_SEPARATOR_S, path_info->dest_dir, item->path, NULL);
+ child_path_info->album_path = g_build_path (G_DIR_SEPARATOR_S, path_info->album_path, item->path, NULL);
build_tree (setup, child_path_info, items, i, jobs);
free_path_info (child_path_info);
}