[Freeciv-Dev] (PR#9855) Can't set sensitivity for non-existent menu <mai
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9855 >
This should fix it.
jason
Index: client/gui-gtk/menu.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk/menu.c,v
retrieving revision 1.87
diff -u -r1.87 menu.c
--- client/gui-gtk/menu.c 25 Aug 2004 18:24:19 -0000 1.87
+++ client/gui-gtk/menu.c 31 Aug 2004 01:30:40 -0000
@@ -1176,7 +1176,7 @@
can_unit_do_activity(punit, ACTIVITY_EXPLORE));
menus_set_sensitive("<main>/_Orders/_Connect/_Road",
can_unit_do_connect(punit, ACTIVITY_ROAD));
- menus_set_sensitive("<main>/_Orders/_Connect/_Rail",
+ menus_set_sensitive("<main>/_Orders/_Connect/Rai_l",
can_unit_do_connect(punit, ACTIVITY_RAILROAD));
menus_set_sensitive("<main>/_Orders/_Connect/_Irrigate",
can_unit_do_connect(punit, ACTIVITY_IRRIGATE));
|
|