summaryrefslogtreecommitdiff
path: root/src/job-manager.c
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2011-03-03 12:31:48 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2011-03-03 12:31:48 +0100
commitd769c3b82b245217703d243b3e83e7d8cb51af1f (patch)
tree5901a0da4b32a583eed61deb309e9417150afba5 /src/job-manager.c
parent45b9708729828f944c07f8b99e7001490261cc53 (diff)
downloadcataract-d769c3b82b245217703d243b3e83e7d8cb51af1f.tar.xz
Fix atom feed paths
And convert it to use global path info.
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);
}