Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2005:
[Freeciv-Dev] (PR#13305) Client doesn't cross out nations taken by other
Home

[Freeciv-Dev] (PR#13305) Client doesn't cross out nations taken by other

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13305) Client doesn't cross out nations taken by other players
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Tue, 21 Jun 2005 05:08:34 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13305 >

This is a patch which fixes one of many bugs in nation availibility.
IMO this is everything that needs to be fixed on the client side.

Another problem is that the server doesn't send nation_availible packets
when it should (esp when a new connection is established).

--
mateusz
? core.22373
? core.23940
? core.26863
? core.26869
? core.26873
? shared.c
? data/ft
? po/pl.back
Index: client/gui-gtk-2.0/dialogs.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/dialogs.c,v
retrieving revision 1.106
diff -u -r1.106 dialogs.c
--- client/gui-gtk-2.0/dialogs.c        7 Jun 2005 06:17:10 -0000       1.106
+++ client/gui-gtk-2.0/dialogs.c        21 Jun 2005 12:03:31 -0000
@@ -1722,7 +1722,9 @@
   nation_selection_list = create_nation_selection_list();
   gtk_container_add(GTK_CONTAINER(hbox), nation_selection_list);
 
-
+  /* Set nation availibility */
+  races_toggles_set_sensitive();
+  
   /* Right side. */
   notebook = gtk_notebook_new();
   gtk_notebook_set_tab_pos(GTK_NOTEBOOK(notebook), GTK_POS_BOTTOM);

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