Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c 


Log Message:
This is needed, else deleted file in all wont propagate.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- e_apps.c    23 Feb 2005 11:35:42 -0000      1.20
+++ e_apps.c    23 Feb 2005 11:38:28 -0000      1.21
@@ -721,7 +721,18 @@
               * 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)




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to