Author: cazfi Date: Wed Nov 11 00:18:35 2015 New Revision: 30531 URL: http://svn.gna.org/viewcvs/freeciv?rev=30531&view=rev Log: Properly setup dialog showing tileset problems.
See bug #24054 Modified: branches/S2_5/client/gui-gtk-2.0/dialogs.c branches/S2_5/client/gui-gtk-3.0/dialogs.c Modified: branches/S2_5/client/gui-gtk-2.0/dialogs.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-gtk-2.0/dialogs.c?rev=30531&r1=30530&r2=30531&view=diff ============================================================================== --- branches/S2_5/client/gui-gtk-2.0/dialogs.c (original) +++ branches/S2_5/client/gui-gtk-2.0/dialogs.c Wed Nov 11 00:18:35 2015 @@ -1543,6 +1543,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_5/client/gui-gtk-3.0/dialogs.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-gtk-3.0/dialogs.c?rev=30531&r1=30530&r2=30531&view=diff ============================================================================== --- branches/S2_5/client/gui-gtk-3.0/dialogs.c (original) +++ branches/S2_5/client/gui-gtk-3.0/dialogs.c Wed Nov 11 00:18:35 2015 @@ -1553,6 +1553,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