From f7bd20accb148c1c3738d25a6cebb1ab7df87fcf Mon Sep 17 00:00:00 2001 From: sebastid Date: Wed, 23 Feb 2005 11:38:28 +0000 Subject: [PATCH] This is needed, else deleted file in all wont propagate. SVN revision: 13477 --- src/bin/e_apps.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/bin/e_apps.c b/src/bin/e_apps.c index a61657a..672c9b6 100644 --- a/src/bin/e_apps.c +++ b/src/bin/e_apps.c @@ -721,7 +721,18 @@ _e_app_cb_monitor(void *data, Ecore_File_Monitor *em, * the client. */ a2 = _e_app_subapp_path_find(app, path); if (a2) - a2->deleted = 1; + { + a2->deleted = 1; + /* If this app is in a main repository, tell all referencing + * apps to rescan. */ + for (l = a2->references; l; l = l->next) + { + E_App *app; + + app = l->data; + _e_app_subdir_rescan(app); + } + } break; case ECORE_FILE_EVENT_CHANGED: if (type == ECORE_FILE_TYPE_FILE) -- 2.7.4