bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Changing language for GUI


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Changing language for GUI
Date: Mon, 25 Aug 2003 14:44:06 +0000
User-agent: Mutt/1.4.1i

On Mon, Aug 25, 2003 at 03:02:44PM +0200, Jim Segrave wrote
> 
> Note that the weird processing of some arguments before setting up gtk
> and some after means this does not work for text mode.
> 
> It's not clear to me why we process some command line arguments, then
> set up the GUI (if required), then process the rest of the command
> line. I suspect this is historical and that all the arguments could be
> processed before GTK and the GUI start up, in which case my fix would
> also work for text mode.

No, we have to look for '-t' (and others) to verify if we should start X
at all. We should not run InitGTK if -t, -c, -p, or -s has been
specified. If we process all command line arguments first, then we have
to handle all the X and GTK specific cmd line arguments such as
--g-fatal-warnings or --display. InitGTK "eats" all the GTK and X cmd
line arguments, so we only have to handle the gnubg specific ones
afterwards.

BTW, I haven't followed the discussion closely: please remind me why we
need a command line argument for something that can be set with an env.
variable?

Jørn

Attachment: pgp9Ry8syiGOy.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]