Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
E.h Makefile.am main.c setup.c
Log Message:
Some more bits for UTF-8 support.
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/E.h,v
retrieving revision 1.235
retrieving revision 1.236
diff -u -3 -r1.235 -r1.236
--- E.h 1 Apr 2004 22:41:19 -0000 1.235
+++ E.h 1 Apr 2004 22:48:32 -0000 1.236
@@ -2275,6 +2275,10 @@
int HandleIPC(const char *params, Client * c);
void ButtonIPC(int val, void *data);
+/* lang.c */
+void LangInit(void);
+char *Eiconv(const char *txt, size_t len);
+
/* lists.c */
void *FindItem(const char *name, int id, int find_by, int type);
void AddItem(void *item, const char *name, int id, int type);
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/Makefile.am,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- Makefile.am 16 Mar 2004 22:10:06 -0000 1.33
+++ Makefile.am 1 Apr 2004 22:48:32 -0000 1.34
@@ -50,6 +50,7 @@
iconify.c \
init.c \
ipc.c \
+ lang.c \
lists.c \
main.c \
memory.c \
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/main.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -3 -r1.82 -r1.83
--- main.c 20 Mar 2004 15:49:05 -0000 1.82
+++ main.c 1 Apr 2004 22:48:32 -0000 1.83
@@ -70,13 +70,8 @@
single_screen_mode = 0;
/* unsetenv("LD_PRELOAD"); */
-/* Part of gettext stuff */
-
- setlocale(LC_ALL, "");
- bindtextdomain(PACKAGE, LOCALEDIR);
- textdomain(PACKAGE);
-
-/* End of gettext stuff */
+ /* Initialise internationalisation */
+ LangInit();
str = getenv("EDBUG");
if (str)
===================================================================
RCS file: /cvsroot/enlightenment/e16/e/src/setup.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -3 -r1.120 -r1.121
--- setup.c 31 Mar 2004 19:05:55 -0000 1.120
+++ setup.c 1 Apr 2004 22:48:32 -0000 1.121
@@ -291,15 +291,6 @@
"server is one the author of Enlightenment neither have\n"
"access to, nor have heard of.\n"), ProtocolVersion(disp));
}
- /* now we'll set the locale */
- setlocale(LC_ALL, "");
- if (!XSupportsLocale())
- setlocale(LC_ALL, "C");
- XSetLocaleModifiers("");
- setlocale(LC_ALL, NULL);
-
- /* I dont want any internationalisation of my numeric input & output */
- setlocale(LC_NUMERIC, "C");
ICCCM_SetIconSizes();
ICCCM_Focus(NULL);
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs