Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2005:
[Freeciv-Dev] (PR#13696) spying window won't appear after sabotage
Home

[Freeciv-Dev] (PR#13696) spying window won't appear after sabotage

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Bayprogrammer@xxxxxxx
Subject: [Freeciv-Dev] (PR#13696) spying window won't appear after sabotage
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Thu, 18 Aug 2005 04:00:10 -0700
Reply-to: bugs@xxxxxxxxxxx

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

> [Bayprogrammer@xxxxxxx - Thu Aug 18 05:21:14 2005]:
> 
> I had a bug where the spying window just wouldn't popup and I had to
> reconnect to the network game I was playing to get the spy menu to
> popup again.
> 
> This has never happened with diplomats, and it only occured after I
> sabotaged
> a destroyer in about 200 ad.
> 
> -J
> 
Here's a patch. It was good that you mentioned sobotaging that destroyer.
--
mateusz
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.114
diff -u -r1.114 dialogs.c
--- client/gui-gtk-2.0/dialogs.c        26 Jul 2005 16:35:57 -0000      1.114
+++ client/gui-gtk-2.0/dialogs.c        18 Aug 2005 10:58:11 -0000
@@ -335,6 +335,7 @@
 {
   request_diplomat_action(SPY_SABOTAGE_UNIT, diplomat_id,
                          diplomat_target_id, 0);
+  gtk_widget_destroy(diplomat_dialog);
 }
 
 /****************************************************************

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