forked from enlightenment/enlightenment
if fileman navbar gets eio monitor error, delete monitor and retry
ticket #2044 SVN revision: 81357
This commit is contained in:
parent
f2a33e5429
commit
4e9bb38d9a
|
@ -86,12 +86,16 @@ e_fwin_nav_shutdown(void)
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_event_deleted(Nav_Item *ni, int type, void *e)
|
_event_deleted(Nav_Item *ni, int type, void *e)
|
||||||
{
|
{
|
||||||
Eio_Monitor_Error *me = e;
|
|
||||||
Eio_Monitor_Event *ev = e;
|
Eio_Monitor_Event *ev = e;
|
||||||
const char *dir;
|
const char *dir;
|
||||||
|
|
||||||
if (type == EIO_MONITOR_ERROR)
|
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
|
else
|
||||||
dir = ev->filename;
|
dir = ev->filename;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue