Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

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


Modified Files:
        Makefile.am e_mod_main.c e_mod_main.h 
Removed Files:
        module_icon.png 


Log Message:


nice little overhaul of module related stuff. moduels now finally RELY on
module.eap files being installed - and using the e_apps api to load them and
ask for a name. Also icon is expected to be in this file too and i have
removed the info func call from modules as well as config_menu, module menus,
and other cruft in moduel structs. this also means revving the module api
version and saving users from a "if i recompile it will work" thing. :)
moduels need serious updates, not just a recompile for this. your modules
WILL break.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/start/Makefile.am,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- Makefile.am 9 May 2006 13:02:48 -0000       1.5
+++ Makefile.am 1 Jun 2006 06:44:37 -0000       1.6
@@ -4,8 +4,7 @@
 # data files for the module
 filesdir = $(libdir)/enlightenment/modules/$(MODULE)
 files_DATA = \
-module.eap \
-module_icon.png
+module.eap
 
 EXTRA_DIST = $(files_DATA)
 
===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/start/e_mod_main.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- e_mod_main.c        31 May 2006 16:24:33 -0000      1.26
+++ e_mod_main.c        1 Jun 2006 06:44:37 -0000       1.27
@@ -250,16 +250,6 @@
 }
 
 EAPI int
-e_modapi_info(E_Module *m)
-{
-   char buf[4096];
-   
-   snprintf(buf, sizeof(buf), "%s/module_icon.png", e_module_dir_get(m));
-   m->icon_file = strdup(buf);
-   return 1;
-}
-
-EAPI int
 e_modapi_about(E_Module *m)
 {
    e_module_dialog_show(_("Enlightenment Start Module"),
@@ -268,3 +258,4 @@
 }
 /**/
 /***************************************************************************/
+
===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/start/e_mod_main.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_main.h        9 May 2006 13:02:48 -0000       1.9
+++ e_mod_main.h        1 Jun 2006 06:44:37 -0000       1.10
@@ -9,7 +9,6 @@
 EAPI void *e_modapi_init     (E_Module *m);
 EAPI int   e_modapi_shutdown (E_Module *m);
 EAPI int   e_modapi_save     (E_Module *m);
-EAPI int   e_modapi_info     (E_Module *m);
 EAPI int   e_modapi_about    (E_Module *m);
 
 #endif




_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to