Revert "edi_filepanel: if file is deleted close item in view."
This reverts commit 2e10b48162
.
This commit is contained in:
parent
2e10b48162
commit
22b903fdcf
|
@ -958,15 +958,9 @@ _file_listing_updated(void *data EINA_UNUSED, int type EINA_UNUSED,
|
||||||
parent_it = _file_listing_item_find(dir);
|
parent_it = _file_listing_item_find(dir);
|
||||||
|
|
||||||
if (type == EIO_MONITOR_FILE_CREATED)
|
if (type == EIO_MONITOR_FILE_CREATED)
|
||||||
{
|
|
||||||
_file_listing_item_insert(ev->filename, EINA_FALSE, parent_it);
|
_file_listing_item_insert(ev->filename, EINA_FALSE, parent_it);
|
||||||
}
|
|
||||||
else if (type == EIO_MONITOR_FILE_DELETED)
|
else if (type == EIO_MONITOR_FILE_DELETED)
|
||||||
{
|
|
||||||
_file_listing_item_delete(ev->filename);
|
_file_listing_item_delete(ev->filename);
|
||||||
edi_mainview_item_close_path(ev->filename);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (type == EIO_MONITOR_DIRECTORY_CREATED)
|
if (type == EIO_MONITOR_DIRECTORY_CREATED)
|
||||||
_file_listing_item_insert(ev->filename, EINA_TRUE, parent_it);
|
_file_listing_item_insert(ev->filename, EINA_TRUE, parent_it);
|
||||||
else if (type == EIO_MONITOR_DIRECTORY_DELETED)
|
else if (type == EIO_MONITOR_DIRECTORY_DELETED)
|
||||||
|
|
Loading…
Reference in New Issue