Summary: [gtk] Use an unique inputline
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: samedi 19.09.2009 à 13:14
                Category: client-gtk-2.0
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.2.0



Instead of having 2 separated input lines for the start page and the game
page, this patch use the same widget.  Also, the featured text toolkit is
also unique.

This will fix the following bugs:
* When typing something on the entry when the page changes (e.g. game
starting), the entry keeps the message you were typing.
* The foreground and background colors selected in the featured text toolkit
are the same when you switch the pages.
* The toolkit doesn't appear or disappear when you switch pages without you
asked it.

* The input line toolkit is created in chatline_init().  It is an unique
static widget.  This widget is reparented every time a
'intputline_toolkit_view' becomes visible.  Note that the behaviour if 2
intputline_toolkit_view are created in the same page is undefined.
* The global 'inputline' widget pointer is removed.  The public accessor
bool inputline_has_focus();
void inputline_grab_focus();
* Now, the featured text toolkit is hiden by default.


File Attachments:

Date: samedi 19.09.2009 à 13:14  Name: trunk_S2_2_unique_inputline.diff 
Size: 18 ko   By: pepeto



Reply to this item at:


  Message posté via/par Gna!

Freeciv-dev mailing list

Reply via email to