This should make it more obvious to users that something is still happening in the case that
they are building on a index on larger shapefiles which can often take quite some time.
git-svn-id: http://svn.osgeo.org/postgis/trunk@8814
b70326c6-7e19-0410-871a-
916f4a2858ee
goto import_cleanup;
}
+ /* Just in case index creation takes a long time, update the progress text */
if (state->config->createindex)
{
- pgui_logf(_("Creating spatial index...\n"));
+ gtk_label_set_text(GTK_LABEL(label_progress), _("Creating spatial index..."));
+
+ /* Allow GTK events to get a look in */
+ while (gtk_events_pending())
+ gtk_main_iteration();
}
/* Send the footer to the server */