reset efm new file marker+thread on path change

SVN revision: 76403
This commit is contained in:
Mike Blumenkrantz 2012-09-10 12:52:41 +00:00
parent f260b18c27
commit def3fec3b3
1 changed files with 2 additions and 1 deletions

View File

@ -1036,7 +1036,8 @@ e_fm2_path_set(Evas_Object *obj, const char *dev, const char *path)
if (sd->realpath) _e_fm2_client_monitor_del(sd->id, sd->realpath);
sd->listing = EINA_FALSE;
if (sd->new_file.thread) ecore_thread_cancel(sd->new_file.thread);
eina_stringshare_replace(&sd->new_file.filename, NULL);
eina_stringshare_replace(&sd->dev, dev);
eina_stringshare_replace(&sd->path, path);
eina_stringshare_del(sd->realpath);