Author: cazfi Date: Wed Nov 11 00:18:28 2015 New Revision: 30530 URL: http://svn.gna.org/viewcvs/freeciv?rev=30530&view=rev Log: Properly setup dialog showing tileset problems.
See bug #24054 Modified: branches/S2_6/client/gui-gtk-2.0/dialogs.c branches/S2_6/client/gui-gtk-3.0/dialogs.c Modified: branches/S2_6/client/gui-gtk-2.0/dialogs.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-gtk-2.0/dialogs.c?rev=30530&r1=30529&r2=30530&view=diff ============================================================================== --- branches/S2_6/client/gui-gtk-2.0/dialogs.c (original) +++ branches/S2_6/client/gui-gtk-2.0/dialogs.c Wed Nov 11 00:18:28 2015 @@ -1528,6 +1528,7 @@ GTK_BUTTONS_CLOSE, _("Tileset problem, it's probably incompatible with the ruleset:\n%s"), msg); + setup_dialog(dialog, toplevel); gtk_dialog_run(GTK_DIALOG(dialog)); Modified: branches/S2_6/client/gui-gtk-3.0/dialogs.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-gtk-3.0/dialogs.c?rev=30530&r1=30529&r2=30530&view=diff ============================================================================== --- branches/S2_6/client/gui-gtk-3.0/dialogs.c (original) +++ branches/S2_6/client/gui-gtk-3.0/dialogs.c Wed Nov 11 00:18:28 2015 @@ -1538,6 +1538,7 @@ GTK_BUTTONS_CLOSE, _("Tileset problem, it's probably incompatible with the ruleset:\n%s"), msg); + setup_dialog(dialog, toplevel); gtk_dialog_run(GTK_DIALOG(dialog)); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits