Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#10757) new preset dialog opens below city window
Home

[Freeciv-Dev] (PR#10757) new preset dialog opens below city window

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx
Subject: [Freeciv-Dev] (PR#10757) new preset dialog opens below city window
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Tue, 9 Nov 2004 10:23:53 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10757 >

Here's a patch.

Index: client/gui-gtk-2.0/inputdlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/inputdlg.c,v
retrieving revision 1.10
diff -u -r1.10 inputdlg.c
--- client/gui-gtk-2.0/inputdlg.c       11 May 2004 17:52:25 -0000      1.10
+++ client/gui-gtk-2.0/inputdlg.c       9 Nov 2004 18:21:43 -0000
@@ -67,7 +67,7 @@
         parent,
         GTK_DIALOG_DESTROY_WITH_PARENT,
         NULL);
-  setup_dialog(shell, toplevel);
+  setup_dialog(shell, GTK_WIDGET(parent));
   gtk_window_set_position(GTK_WINDOW(shell), GTK_WIN_POS_CENTER_ON_PARENT);
   label = gtk_frame_new(text);
   gtk_box_pack_start(GTK_BOX(GTK_DIALOG(shell)->vbox), label, TRUE, TRUE, 0);

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10757) new preset dialog opens below city window, Vasco Alexandre da Silva Costa <=