From b93c035176fb38cd0104c254b8d6bf5f8042821e Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 19 Dec 2013 14:55:23 -0500 Subject: [PATCH] set efm_op parent tasks when creating new scan tasks for a directory --- src/bin/e_fm_op.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/e_fm_op.c b/src/bin/e_fm_op.c index 1318773cd..47685962d 100644 --- a/src/bin/e_fm_op.c +++ b/src/bin/e_fm_op.c @@ -873,6 +873,7 @@ _e_fm_op_scan_idler(void *data __UNUSED__) { ntask = _e_fm_op_task_new(); ntask->type = E_FM_OP_COPY_STAT_INFO; + ntask->parent = task; ntask->src.name = eina_stringshare_add(task->src.name); memcpy(&(ntask->src.st), &(task->src.st), sizeof(struct stat)); @@ -898,6 +899,7 @@ _e_fm_op_scan_idler(void *data __UNUSED__) ntask = _e_fm_op_task_new(); ntask->type = task->type; ntask->src.name = eina_stringshare_add(info->path); + ntask->parent = task; if (task->dst.name) {