Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : flame

Dir     : e_modules/flame


Modified Files:
        e_mod_config.c e_mod_main.c e_mod_main.h 


Log Message:
Update some e_modules to use module icons in their config dialogs.

===================================================================
RCS file: /cvs/e/e_modules/flame/e_mod_config.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- e_mod_config.c      6 Apr 2006 21:03:08 -0000       1.23
+++ e_mod_config.c      3 Jul 2006 07:37:32 -0000       1.24
@@ -23,7 +23,8 @@
 {
    E_Config_Dialog *cfd;
    E_Config_Dialog_View *v;
-
+   char buf[4096];
+   
    v = E_NEW(E_Config_Dialog_View, 1);
 
    v->create_cfdata = _create_data;
@@ -33,7 +34,8 @@
    v->advanced.apply_cfdata = _advanced_apply_data;
    v->advanced.create_widgets = _advanced_create_widgets;
 
-   cfd = e_config_dialog_new(con, D_("Flame Configuration"), NULL, 0, v, fl);
+   snprintf(buf, sizeof(buf), "%s/module.eap", e_module_dir_get(fl->module));
+   cfd = e_config_dialog_new(con, D_("Flame Configuration"), buf, 0, v, fl);
    fl->config_dialog = cfd;
 }
 
===================================================================
RCS file: /cvs/e/e_modules/flame/e_mod_main.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- e_mod_main.c        2 Jul 2006 19:06:09 -0000       1.23
+++ e_mod_main.c        3 Jul 2006 07:37:32 -0000       1.24
@@ -56,6 +56,7 @@
    bind_textdomain_codeset(PACKAGE, "UTF-8");
 
    f = _flame_init(m);
+   f->module = m;
    return f;
 }
 
@@ -199,6 +200,7 @@
    free(f->conf);
    E_CONFIG_DD_FREE(f->conf_edd);
    _flame_face_free(f->face);
+   f->module = NULL;   
    free(f);
 }
 
===================================================================
RCS file: /cvs/e/e_modules/flame/e_mod_main.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- e_mod_main.h        3 Jun 2006 13:33:25 -0000       1.12
+++ e_mod_main.h        3 Jul 2006 07:37:32 -0000       1.13
@@ -36,7 +36,8 @@
 {
    E_Menu *config_menu;
    Flame_Face *face;
-
+   E_Module *module;
+   
    E_Config_DD *conf_edd;
    Config *conf;
    E_Config_Dialog *config_dialog;



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to