From def3fec3b393193d7716abb7986d416ab8d48189 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 10 Sep 2012 12:52:41 +0000 Subject: [PATCH] reset efm new file marker+thread on path change SVN revision: 76403 --- src/bin/e_fm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index df1ed0c79..a50b6d0af 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -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);