Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_module.c 


Log Message:
Set correct title.

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_module.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -3 -r1.37 -r1.38
--- e_module.c  23 Sep 2005 17:13:47 -0000      1.37
+++ e_module.c  23 Sep 2005 17:54:43 -0000      1.38
@@ -140,13 +140,16 @@
      }
    if (m->api->version < E_MODULE_API_VERSION)
      {
-       char buf[4096];
+       char buf[4096], title[1024];
        snprintf(buf, sizeof(buf), _("Module API Error<br>Error initializing 
Module: %s<br>"
                                     "It requires a minimum module API version 
of: %i.<br>"
                                     "The module API advertized by 
Enlightenment is: %i.<br>"), 
                                   _(m->api->name), E_MODULE_API_VERSION, 
m->api->version);
 
-       e_module_dialog_show(_("Enlightenment Clock Module"), buf);
+       snprintf(title, sizeof(title), _("Enlightenment %s Module"), 
_(m->api->name));
+
+       e_module_dialog_show(title, buf);
+
        dlclose(m->handle);
        free(m);
        return NULL;




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to