Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_module.c 


Log Message:
Fix save on shutdown.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_module.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- e_module.c  8 Feb 2005 18:06:59 -0000       1.15
+++ e_module.c  10 Feb 2005 12:29:25 -0000      1.16
@@ -343,12 +343,19 @@
             e_config->modules = evas_list_remove(e_config->modules, em);
             E_FREE(em->name);
             E_FREE(em);
+            /* This is crap, a job is added, but doesn't run because
+             * main loop has quit!
             e_config_save_queue();
+            */
             break;
          }
      }
    
-   if (m->enabled) m->func.shutdown(m);
+   if (m->enabled)
+     {
+       m->func.save(m);
+       m->func.shutdown(m);
+     }
    if (m->name) free(m->name);
    if (m->dir) free(m->dir);
    dlclose(m->handle);




-------------------------------------------------------
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