[Freeciv-Dev] (PR#9872) "meet" button in xaw client
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://RT::WebBaseURL.not.configured:80/Ticket/Display.html?id=9872 >
> [mstefek - Пнд. Авг. 30 08:00:59 2004]:
>
> Saltybanana wrote on the forum:
>
> I am unable to "meet" with any of the AI players. That is, in the
> Players dialog, the "Meet" button is always grayed out, even for those
> players where I have embassies established in their cities.
>
> I am playing using the xaw client.
Sensibility of "Meet" and "Intel" button was set to false _after_ end of
checking block. Attached patch works correct for me.
Thanks, evyscr.
--- plrdlg.c.orig 2004-09-21 20:32:50 +0400
+++ plrdlg.c 2004-09-22 20:34:23 +0400
@@ -295,6 +295,8 @@
ret=XawListShowCurrent(players_list);
+ XtSetSensitive(players_meet_command, FALSE);
+ XtSetSensitive(players_int_command, FALSE);
if(ret->list_index!=XAW_LIST_NONE) {
struct player *pplayer =
get_player(list_index_to_player_index[ret->list_index]);
@@ -315,8 +317,6 @@
XtSetSensitive(players_meet_command, can_meet_with_player(pplayer));
XtSetSensitive(players_int_command, can_intel_with_player(pplayer));
}
- XtSetSensitive(players_meet_command, FALSE);
- XtSetSensitive(players_int_command, FALSE);
}
- [Freeciv-Dev] (PR#9872) "meet" button in xaw client,
Egor Vyscrebentsov via RT <=
|
|