]> hydra-www.ietfng.org Git - gtetrinet/commit
hide the window only if it really existed (fixes the -c bug).
authorDani Carbonell <bocata@panete.net>
Fri, 10 Jan 2003 18:30:08 +0000 (18:30 +0000)
committerJordi Albornoz <jordi@src.gnome.org>
Fri, 10 Jan 2003 18:30:08 +0000 (18:30 +0000)
commit8628293739f7f3a1a5152eb1e6036fef5bdfcdf1
tree59141c0ab694b66e421c2771b5dc9c12dad3c12c
parent4c099baeeb62e6dc9201897c8f2518906a4fcb53
hide the window only if it really existed (fixes the -c bug).

2003-01-10  Dani Carbonell  <bocata@panete.net>

        * src/dialogs.c (connectdialog_connected): hide the window only if
        it really existed (fixes the -c bug).

        * src/fields.c (fields_gmsginputadd): this function was useless,
        removed.
        (fields_gmsginputback): likewise

        * src/fields.h: removed those two function's declarations.

        * src/gtetrinet.c (switch_focus): new function, will handle the
        notebook's tab switching, sending focus where it should be.
        (gtetrinet_key): function cleaned.

        * src/gtetrinet.h: added the function declaration.

        * src/partyline.c (partyline_entryfocus): now it clears all the text
        in the partyline's gtk_entry.

        * src/tetrinet.c (tetrinet_endgame): now it properly closes the field's
        gtk_entry, if it's open when the game ends.
        (tetrinet_inmessage): now it properly takes into account that a
        player has left the game, so no one can attack him after he's gone.

        * src/winlist.c (winlist_focus): new function that will focus the
        winlist when the user switches to that tab.

        * src/winlist.h: added the function declaration.
ChangeLog
src/dialogs.c
src/fields.c
src/fields.h
src/gtetrinet.c
src/gtetrinet.h
src/partyline.c
src/tetrinet.c
src/winlist.c
src/winlist.h