Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : tclock

Dir     : e_modules/tclock


Modified Files:
        e_mod_config.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/tclock/e_mod_config.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- e_mod_config.c      23 Jun 2006 04:35:27 -0000      1.22
+++ e_mod_config.c      3 Jul 2006 07:37:33 -0000       1.23
@@ -24,7 +24,8 @@
    E_Config_Dialog *cfd;
    E_Config_Dialog_View *v;
    E_Container *con;
-
+   char buf[4096];
+   
    v = E_NEW(E_Config_Dialog_View, 1);
 
    v->create_cfdata = _create_data;
@@ -32,8 +33,9 @@
    v->basic.apply_cfdata = _basic_apply_data;
    v->basic.create_widgets = _basic_create_widgets;
 
+   snprintf(buf, sizeof(buf), "%s/module.eap", 
e_module_dir_get(tclock_config->module));
    con = e_container_current_get(e_manager_current_get());
-   cfd = e_config_dialog_new(con, D_("Tclock Configuration"), NULL, 0, v, ci);
+   cfd = e_config_dialog_new(con, D_("Tclock Configuration"), buf, 0, v, ci);
    tclock_config->config_dialog = cfd;
 }
 
===================================================================
RCS file: /cvs/e/e_modules/tclock/e_mod_main.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -3 -r1.18 -r1.19
--- e_mod_main.h        6 Jun 2006 15:32:29 -0000       1.18
+++ e_mod_main.h        3 Jul 2006 07:37:33 -0000       1.19
@@ -25,8 +25,8 @@
    double poll_time;
    int show_time;
    int show_date;
-   char *time_format;
-   char *date_format;
+   const char *time_format;
+   const char *date_format;
 };
 
 EAPI extern E_Module_Api e_modapi;



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