Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/modules/pager


Modified Files:
        e_mod_main.c e_mod_main.h 


Log Message:
New modapi!

If a module fails to load, don't unload it. Mark it with an error flag,
and ask the user if he wants to unload it.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/pager/e_mod_main.c,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -3 -r1.140 -r1.141
--- e_mod_main.c        24 Sep 2005 10:38:04 -0000      1.140
+++ e_mod_main.c        24 Sep 2005 13:42:05 -0000      1.141
@@ -105,7 +105,7 @@
 static E_Config_DD *_conf_face_edd;
 
 /* public module routines. all modules must have these */
-E_Module_Api e_module_api = 
+E_Module_Api e_modapi = 
 {
    E_MODULE_API_VERSION,
    "Pager"
@@ -154,7 +154,6 @@
 {
    char buf[4096];
 
-   module->label = strdup(_("Pager"));
    snprintf(buf, sizeof(buf), "%s/module_icon.png", e_module_dir_get(module));
    module->icon_file = strdup(buf);
    return 1;
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/pager/e_mod_main.h,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -3 -r1.35 -r1.36
--- e_mod_main.h        23 Sep 2005 23:40:45 -0000      1.35
+++ e_mod_main.h        24 Sep 2005 13:42:05 -0000      1.36
@@ -141,7 +141,7 @@
    Ecore_Timer *timer;
 };
 
-extern E_Module_Api e_module_api;
+extern E_Module_Api e_modapi;
 
 EAPI void *e_modapi_init     (E_Module *module);
 EAPI int   e_modapi_shutdown (E_Module *module);




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to