if fileman navbar gets eio monitor error, delete monitor and retry

ticket #2044


SVN revision: 81357
This commit is contained in:
Mike Blumenkrantz 2012-12-19 13:04:48 +00:00
parent f2a33e5429
commit 4e9bb38d9a
1 changed files with 6 additions and 2 deletions

View File

@ -86,12 +86,16 @@ e_fwin_nav_shutdown(void)
static Eina_Bool
_event_deleted(Nav_Item *ni, int type, void *e)
{
Eio_Monitor_Error *me = e;
Eio_Monitor_Event *ev = e;
const char *dir;
if (type == EIO_MONITOR_ERROR)
dir = eio_monitor_path_get(me->monitor);
{
//donteven.jpg
eio_monitor_del(ni->monitor);
ni->monitor = eio_monitor_stringshared_add(ni->path);
return ECORE_CALLBACK_RENEW;
}
else
dir = ev->filename;