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

Whenever a new server is started by the gtk client it takes two clicks
on the Cancel button to really go back to the main page.

Patch to pages.c included. The callback only closed the connection
when clicking cancel, now it both closes and goes back to main menu.

I see no reason not to make this change. I have not tried ggz but the
ggz-enabled client eventually exits inside disconnect_from_server()

Index: client/gui-gtk-2.0/pages.c
--- client/gui-gtk-2.0/pages.c	(revision 13022)
+++ client/gui-gtk-2.0/pages.c	(arbetskopia)
@@ -122,9 +122,8 @@
   if (aconnection.used) {
-  } else {
-    set_client_page(in_ggz ? PAGE_GGZ : PAGE_MAIN);
+  set_client_page(in_ggz ? PAGE_GGZ : PAGE_MAIN);
Freeciv-dev mailing list

Reply via email to