Enlightenment CVS committal

Author  : kiwi
Project : e_modules
Module  : eveil

Dir     : e_modules/eveil


Modified Files:
        e_mod_config_alarm.c e_mod_main.c 


Log Message:
make eveil work with the new e_module_dialog_show function chages
eveil has some bugs, i'll fix that soon, and rename it =)

===================================================================
RCS file: /cvs/e/e_modules/eveil/e_mod_config_alarm.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_config_alarm.c        12 Jun 2006 08:54:22 -0000      1.4
+++ e_mod_config_alarm.c        2 Jul 2006 19:52:40 -0000       1.5
@@ -285,7 +285,7 @@
                       "The date you entered is before now"));
              break;
           }
-        e_module_dialog_show(D_("Eveil Module Error"), buf);
+        e_module_dialog_show(eveil_config->module, D_("Eveil Module Error"), 
buf);
         return 0;
      }
 
@@ -432,7 +432,7 @@
         snprintf(buf, sizeof(buf),
                  D_("<hilight>Alarm test FAILED !</hilight>"));
      }
-   e_module_dialog_show(D_("Eveil Module Test Report"), buf);
+   e_module_dialog_show(eveil_config->module, D_("Eveil Module Test Report"), 
buf);
 }
 
 static void _cb_alarm_today(void *data, void *data2)
===================================================================
RCS file: /cvs/e/e_modules/eveil/e_mod_main.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- e_mod_main.c        2 Jul 2006 19:06:09 -0000       1.9
+++ e_mod_main.c        2 Jul 2006 19:52:40 -0000       1.10
@@ -318,7 +318,7 @@
                  D_("<hilight>Alarm : %s</hilight><br><br>"
                  "%s"),
                  al->name, (al->description) ? al->description : "" );
-        e_module_dialog_show(D_("Eveil Module Popup"), buf);
+        e_module_dialog_show(eveil_config->module, D_("Eveil Module Popup"), 
buf);
      }
 
    if ((al->run_program == ALARM_RUN_PROGRAM_OWN) ||
@@ -344,7 +344,7 @@
              snprintf(buf, sizeof(buf),
                       D_("<hilight>Failed !</hilight><br><br>"
                       "Eveil couln't launch the program you specified"));
-             e_module_dialog_show(D_("Eveil Module Error"), buf);
+             e_module_dialog_show(eveil_config->module, D_("Eveil Module 
Error"), buf);
              ret = 0;
           }
      }
@@ -937,7 +937,7 @@
         snprintf(buf, sizeof(buf),
                  D_("<hilight>Timer elapsed !</hilight><br><br>"
                  "Time for pastas :D"));
-        e_module_dialog_show(D_("Eveil Module Popup"), buf);
+        e_module_dialog_show(eveil_config->module, D_("Eveil Module Popup"), 
buf);
      }
 
    if (eveil_config->timer_run_program_default)
@@ -1085,7 +1085,7 @@
                         "Your settings were removed<br>"
                         "Sorry for the inconvenience<br><br>"
                         "(%d -> %d)"), eveil_config->config_version, 
CONFIG_VERSION);
-             e_module_dialog_show(D_("Eveil Module version " MODULE_VERSION), 
buf);
+             e_module_dialog_show(eveil_config->module, D_("Eveil Module 
version " MODULE_VERSION), buf);
              eveil_config = NULL;
           }
         else
@@ -1099,7 +1099,7 @@
                              "Your settings were removed<br>"
                              "Sorry for the inconvenience<br><br>"
                              "(%d ->%d)"), eveil_config->config_version, 
CONFIG_VERSION);
-                  e_module_dialog_show(D_("Eveil Module version " 
MODULE_VERSION), buf);
+                  e_module_dialog_show(eveil_config->module, D_("Eveil Module 
version " MODULE_VERSION), buf);
                   eveil_config = NULL;
                }
           }



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