From d769c3b82b245217703d243b3e83e7d8cb51af1f Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Thu, 3 Mar 2011 12:31:48 +0100 Subject: Fix atom feed paths And convert it to use global path info. --- src/job-manager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/job-manager.c') 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); } -- cgit v1.2.3