Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#10868) Focus problem on name new city dialog (Windows)
Home

[Freeciv-Dev] (PR#10868) Focus problem on name new city dialog (Windows)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#10868) Focus problem on name new city dialog (Windows)
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Thu, 4 Nov 2004 16:57:02 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10868 >

Here's a quickie patch that focuses on the edit box when it pops up. 
Pressing enter selects the default name.  I tried highlighting the text,
but there's an odd hack in the win32 code for parsing an enter that I
think gets around the need to change the message loop in gui_main() to
deal with translating the dialog box messages.

Incidentally, you can turn off prompting for city names in local options
under the menus.

-James Canete

Attachment: win32-focuseditdlg.diff
Description: Binary data


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