tThe Win32 client was not expanding the entry widgets in the Server tab; now fi… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7c41c4233ba2bd6faa41d9f4be36ffae86b610a2 | |
parent 806aafd0ce01baa6ae6a0c2b70ff7a7d04246933 | |
Author: Ben Webb <[email protected]> | |
Date: Fri, 1 Mar 2002 12:55:18 +0000 | |
The Win32 client was not expanding the entry widgets in the Server tab; | |
now fixed. | |
Diffstat: | |
M src/gui_client/newgamedia.c | 8 ++------ | |
1 file changed, 2 insertions(+), 6 deletions(-) | |
--- | |
diff --git a/src/gui_client/newgamedia.c b/src/gui_client/newgamedia.c | |
t@@ -506,9 +506,7 @@ void NewGameDialog(Player *play) | |
ServerEntry = ServerName; | |
gtk_entry_set_text(GTK_ENTRY(entry), ServerEntry); | |
- gtk_table_attach(GTK_TABLE(table), entry, 1, 2, 0, 1, | |
- GTK_EXPAND | GTK_SHRINK | GTK_FILL, | |
- GTK_EXPAND | GTK_SHRINK | GTK_FILL, 0, 0); | |
+ gtk_table_attach_defaults(GTK_TABLE(table), entry, 1, 2, 0, 1); | |
label = gtk_label_new(_("Port")); | |
gtk_table_attach(GTK_TABLE(table), label, 0, 1, 1, 2, | |
GTK_SHRINK, GTK_SHRINK, 0, 0); | |
t@@ -516,9 +514,7 @@ void NewGameDialog(Player *play) | |
text = g_strdup_printf("%d", Port); | |
gtk_entry_set_text(GTK_ENTRY(entry), text); | |
g_free(text); | |
- gtk_table_attach(GTK_TABLE(table), entry, 1, 2, 1, 2, | |
- GTK_EXPAND | GTK_SHRINK | GTK_FILL, | |
- GTK_EXPAND | GTK_SHRINK | GTK_FILL, 0, 0); | |
+ gtk_table_attach_defaults(GTK_TABLE(table), entry, 1, 2, 1, 2); | |
gtk_box_pack_start(GTK_BOX(vbox2), table, FALSE, FALSE, 0); | |