[Freeciv-Dev] (PR#8808) [GTK2] New connectdialog doesn't cope with i18n
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=8808 >
Here is a patch that fixes the resize problems.
Index: client/gui-gtk-2.0/connectdlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/connectdlg.c,v
retrieving revision 1.36
diff -u -r1.36 connectdlg.c
--- client/gui-gtk-2.0/connectdlg.c 11 May 2004 19:51:39 -0000 1.36
+++ client/gui-gtk-2.0/connectdlg.c 22 May 2004 11:19:00 -0000
@@ -1102,7 +1102,7 @@
update_dialog(FIRST_PAGE);
- gtk_widget_set_size_request(dialog, 500, 250);
+ gtk_window_set_default_size(GTK_WINDOW(dialog), 500, 250);
gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER_ON_PARENT);
if (!auto_connect) {
|
|