discomfitor pushed a commit to branch enlightenment-0.18.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f5a92867520380821ec90c07643059f9c1e7f3cb

commit f5a92867520380821ec90c07643059f9c1e7f3cb
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed May 7 17:58:34 2014 -0400

    bugfix: reset scanners/sorters and decrement busy state on efm path set
    
    no more arbitrarily loading file icons from other directories into the 
current view, mmk?
---
 src/bin/e_fm.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 3963450..601a1b3 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -1099,6 +1099,15 @@ e_fm2_path_set(Evas_Object *obj, const char *dev, const 
char *path)
      }
    if (real_path && (sd->realpath == real_path)) return;
 
+   E_FREE_FUNC(sd->scan_timer, ecore_timer_del);
+   E_FREE_FUNC(sd->sort_idler, ecore_idler_del);
+   if (sd->busy_count)
+     sd->busy_count--;
+   if (sd->busy_count == 0)
+     {
+        edje_object_signal_emit(sd->overlay, "e,state,busy,stop", "e");
+        e_fm2_custom_file_flush();
+     }
    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);

-- 


Reply via email to