patch from Maxime Villard fixing a bug in EFM which could cause data loss when dragging directories onto external devices

SVN revision: 79319
This commit is contained in:
Mike Blumenkrantz 2012-11-15 07:31:05 +00:00
parent 3b8e40fb12
commit 7c7927bd4e
1 changed files with 7 additions and 2 deletions

View File

@ -196,8 +196,7 @@ main(int argc, char **argv)
type = E_FM_OP_RENAME;
else return 0;
if ((type == E_FM_OP_SECURE_REMOVE) ||
(type == E_FM_OP_MOVE))
if (type == E_FM_OP_SECURE_REMOVE)
{
_e_fm_op_work_queue = eina_list_append(_e_fm_op_work_queue, NULL);
_e_fm_op_separator = _e_fm_op_work_queue;
@ -322,6 +321,12 @@ main(int argc, char **argv)
}
}
if (type == E_FM_OP_MOVE)
{
_e_fm_op_work_queue = eina_list_append(_e_fm_op_work_queue, NULL);
_e_fm_op_separator = _e_fm_op_work_queue;
}
E_Fm_Op_Task *task;
task = _e_fm_op_task_new();