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

The attached patch makes the metaserver tab in the network page
appear before the lan (local server) tab. So the metaserver
list appears right away when users click the "Connect to Network
Game" button on the start page.

I'm not really sure if there are more users using the lan tab
or the metaserver tab; I would think metaserver since lan users
would be more likely to enter the server port and address
directly on the command line or in the text entry boxes, but
I could be wrong.

This being such a small change I did not make it an option,
though this could be easily done.

commit 8b5cec75cdf188a67a04b3d84ce295b4c90d75c8
Author: Madeline Book <madeline.b...@gmail.com>
Date:   Sun Jan 25 19:54:46 2009 -0500

    Metaserver tab first.

diff --git a/client/gui-gtk-2.0/pages.c b/client/gui-gtk-2.0/pages.c
index a0f138b..c721904 100644
--- a/client/gui-gtk-2.0/pages.c
+++ b/client/gui-gtk-2.0/pages.c
@@ -789,7 +789,7 @@ GtkWidget *create_network_page(void)
   gtk_container_add(GTK_CONTAINER(sw), view);
-  gtk_notebook_append_page(GTK_NOTEBOOK(notebook), sw, label);
+  gtk_notebook_prepend_page(GTK_NOTEBOOK(notebook), sw, label);
   /* Bottom part of the page, outside the inner notebook. */
   sbox = gtk_vbox_new(FALSE, 0);
Freeciv-dev mailing list

Reply via email to