Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

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


Modified Files:
        e_mod_config.c e_mod_main.c 


Log Message:


you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.

===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/battery/e_mod_config.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- e_mod_config.c      3 Jul 2006 07:35:44 -0000       1.19
+++ e_mod_config.c      14 Aug 2006 15:22:45 -0000      1.20
@@ -33,8 +33,9 @@
    v->advanced.create_widgets = _advanced_create_widgets;
 
    snprintf(buf, sizeof(buf), "%s/module.eap", 
e_module_dir_get(battery_config->module));
-   cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()), 
+   cfd = e_config_dialog_new(e_container_current_get(e_manager_current_get()),
                             _("Battery Monitor Configuration"), 
+                            "E", "_e_mod_battery_config_dialog",
                             buf, 0, v, NULL);
    battery_config->config_dialog = cfd;
 }
===================================================================
RCS file: /cvs/e/e17/apps/e/src/modules/battery/e_mod_main.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -3 -r1.84 -r1.85
--- e_mod_main.c        9 Aug 2006 06:38:34 -0000       1.84
+++ e_mod_main.c        14 Aug 2006 15:22:45 -0000      1.85
@@ -292,7 +292,7 @@
                              {
                                 E_Dialog *dia;
                                 
-                                dia = 
e_dialog_new(e_container_current_get(e_manager_current_get()));
+                                dia = 
e_dialog_new(e_container_current_get(e_manager_current_get()), "E", 
"_e_mod_battery_low_dialog");
                                 if (!dia) return 0;
                                 e_dialog_title_set(dia, "Enlightenment Battery 
Module");
                                 e_dialog_icon_set(dia, "enlightenment/e", 64);



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