Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        menus.c 


Log Message:
Localize menu title and item text.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/menus.c,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -3 -r1.138 -r1.139
--- menus.c     8 Jun 2004 15:28:31 -0000       1.138
+++ menus.c     13 Jun 2004 22:37:22 -0000      1.139
@@ -429,7 +429,7 @@
    if (iclass)
       iclass->ref_count++;
 
-   mi->text = EstrLoc2Int(text, 0);
+   mi->text = (text) ? Estrdup(_(text)) : NULL;
    mi->act_id = action_id;
    mi->params = Estrdup(action_params);
    mi->child = child;
@@ -601,7 +601,7 @@
    EDBUG(5, "MenuAddTitle");
    if (menu->title)
       Efree(menu->title);
-   menu->title = Estrdup(title);
+   menu->title = (title) ? Estrdup(_(title)) : NULL;
    EDBUG_RETURN_;
 }
 




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to