<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_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw),
 				 GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
   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
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to