[Freeciv-Dev] (PR#40477) [Editor] Allow player property editing as global observer

2008-09-09 Thread Madeline Book

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40477 

 [book - Wed Sep 03 19:29:29 2008]:
 
 Some leftover code was preventing a global observer
 from accessing the property editor for players.
 Attached patch removes this restriction.

Committed to S2_2 (r15202) and trunk (r15203).


--
怒っているパソコンが怖いね。

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#40477) [Editor] Allow player property editing as global observer

2008-09-03 Thread Madeline Book

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40477 

Some leftover code was preventing a global observer
from accessing the property editor for players.
Attached patch removes this restriction.


--
居直れっ!!
diff --git a/client/gui-gtk-2.0/editgui.c b/client/gui-gtk-2.0/editgui.c
index ca1b987..6b9d5fc 100644
--- a/client/gui-gtk-2.0/editgui.c
+++ b/client/gui-gtk-2.0/editgui.c
@@ -391,10 +391,6 @@ static void editbar_player_properties_button_clicked(GtkButton *b,
 {
   struct property_editor *pe;
 
-  if (!client_has_player()) {
-return;
-  }
-
   pe = editprop_get_property_editor();
   property_editor_reload_players(pe);
   property_editor_popup(pe);
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev