Re: [E-devel] Re: E CVS: tools andreas99

2004-12-16 Thread Michael Jennings
On Wednesday, 15 December 2004, at 00:45:13 (+0100), Andreas Volz wrote: > I don't know how to handle this language problem. At first I used > setlocale (LC_ALL, NULL); to get the current locale for help. This > worked well on my and most other systems. But then someone reported > me a problem tha

Re: [E-devel] Re: E CVS: tools andreas99

2004-12-16 Thread Andreas Volz
Am Wed, 15 Dec 2004 21:34:46 +0100 schrieb Kim Woelders: > You need to figure out the language to get the correct translation > (gettext, other stuff?), and the encoding which is used by X to look > up the appropriate font. They are kind of separate but linked issues. > Most of this should go on b

Re: [E-devel] Re: E CVS: tools andreas99

2004-12-16 Thread Andreas Volz
Am Wed, 15 Dec 2004 12:43:10 -0500 schrieb Michael Jennings: > First off, it's setlocale(LC_ALL, ""), not setlocale(LC_ALL, NULL). :) > > Secondly, once you've done that, you cannot assume that the returned > locale string is any particular value. From the man page: > > RETURN VALUE >A

[E-devel] Re: E CVS: tools andreas99

2004-12-16 Thread Michael Jennings
On Saturday, 11 December 2004, at 01:04:18 (-0800), E CVS List wrote: > Log Message: > get locale for help from LANG instead of LC_ALL > > === > RCS file: /cvsroot/enlightenment/e16/tools/e16menuedit2/src/file.c,v > retrieving revisi

Re: [E-devel] Re: E CVS: tools andreas99

2004-12-16 Thread Kim Woelders
Andreas Volz wrote: Am Wed, 15 Dec 2004 12:43:10 -0500 schrieb Michael Jennings: First off, it's setlocale(LC_ALL, ""), not setlocale(LC_ALL, NULL). :) Secondly, once you've done that, you cannot assume that the returned locale string is any particular value. From the man page: RETURN VALUE

Re: [E-devel] Re: E CVS: tools andreas99

2004-12-16 Thread Andreas Volz
Am Tue, 14 Dec 2004 16:35:50 -0500 schrieb Michael Jennings: > This doesn't seem right to me. setlocale(LC_ALL, "") is the correct, > portable way to set up locale information so that you can subsequently > use nl_langinfo() and friends. $LANG is not the only env var that > comes into play with

Re: [E-devel] Re: E CVS: tools andreas99

2004-12-15 Thread Andreas Volz
Am Wed, 15 Dec 2004 23:40:37 +0100 schrieb Kim Woelders: > This is the magic used by E, as you probably have seen. > This sets up gettext and X. > Try running "EDBUG=1 enlightenment -V". It shows the locale setup > > Why do you need to know the language explicitly? The gettext stuff works witho

Re: [E-devel] Re: E CVS: tools andreas99

2004-07-29 Thread root
On Sunday 25 July 2004 06:36 pm, Kim Woelders wrote: > You can blame me. I thought it would be nicer to collect tools like this > in e16/tools/ in stead of in e16/. I also wasn't sure we wanted to wipe > out the old one(s) yet. isnt that the point of cvs ? :) you never really wipe out old ones if

Re: [E-devel] Re: E CVS: tools andreas99

2004-07-26 Thread Michael Jennings
On Monday, 26 July 2004, at 18:47:45 (-0400), Mike Frysinger wrote: > isnt that the point of cvs ? :) > you never really wipe out old ones if you commit over them ... Bingo. Somebody give that guy a cookie. :) Michael -- Michael Jennings (a.k.a. KainX) http://www.kainx.org/ <[EMAIL PROTECTE

Re: [E-devel] Re: E CVS: tools andreas99

2004-07-26 Thread Mike Frysinger
On Sunday 25 July 2004 06:36 pm, Kim Woelders wrote: > You can blame me. I thought it would be nicer to collect tools like this > in e16/tools/ in stead of in e16/. I also wasn't sure we wanted to wipe > out the old one(s) yet. isnt that the point of cvs ? :) you never really wipe out old ones if

Re: [E-devel] Re: E CVS: tools andreas99

2004-07-25 Thread Kim Woelders
Michael Jennings wrote: On Sunday, 25 July 2004, at 10:21:50 (-0700), E CVS List wrote: Enlightenment CVS committal Author : andreas99 Project : e16 Module : tools Dir : e16/tools/e16menuedit2 Okay, why are we putting this in a different directory? If someone is going to take up the reigns

[E-devel] Re: E CVS: tools andreas99

2004-07-25 Thread Michael Jennings
On Sunday, 25 July 2004, at 10:21:50 (-0700), E CVS List wrote: > Enlightenment CVS committal > > Author : andreas99 > Project : e16 > Module : tools > > Dir : e16/tools/e16menuedit2 Okay, why are we putting this in a different directory? If someone is going to take up the reigns, why no