1796         char *output_shapefile, *orig_shapefile;
 
 1800         int ret, success = 
FALSE, i = 0;
 
 1806                 pgui_seterr(
_(
"ERROR: You haven't specified any tables to export"));
 
 1816                 pgui_seterr(
_(
"Unable to connect to the database - please check your connection settings"));
 
 1846                 pgui_logf(
"\n==============================");
 
 1847                 pgui_logf(
"Exporting with configuration: %s, %s, %s", dumper_table_config->
table, dumper_table_config->
schema, dumper_table_config->
shp_file);
 
 1854                 gtk_widget_set_sensitive(widget, 
FALSE);
 
 1857                 while (gtk_events_pending())
 
 1858                         gtk_main_iteration();
 
 1865                 orig_shapefile = dumper_table_config->
shp_file;
 
 1866                 output_shapefile = 
malloc(strlen(folder_path) + strlen(dumper_table_config->
shp_file) + 2);
 
 1867                 strcpy(output_shapefile, folder_path);
 
 1868                 strcat(output_shapefile, G_DIR_SEPARATOR_S);
 
 1869                 strcat(output_shapefile, dumper_table_config->
shp_file);
 
 1871                 dumper_table_config->
shp_file = output_shapefile;
 
 1880                         goto export_cleanup;
 
 1885                 gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(
progress), 0.0);
 
 1900                                 goto export_cleanup;
 
 1910                 while (gtk_events_pending())
 
 1911                         gtk_main_iteration();
 
 1930                                         goto export_cleanup;
 
 1938                         while (gtk_events_pending())
 
 1939                                 gtk_main_iteration();
 
 1967                 dumper_table_config->
shp_file = orig_shapefile;
 
 1981         gtk_widget_set_sensitive(widget, 
TRUE);
 
 1984         gtk_widget_hide(widget);
 
 1985         gtk_widget_show(widget);
 
 1991         while (gtk_events_pending())
 
 1992                 gtk_main_iteration();
 
int ShpDumperGetRecordCount(SHPDUMPERSTATE *state)
void ShpDumperDestroy(SHPDUMPERSTATE *state)
char * shapetypename(int num)
SHPDUMPERSTATE * ShpDumperCreate(SHPDUMPERCONFIG *config)
int ShpDumperConnectDatabase(SHPDUMPERSTATE *state)
int ShpLoaderGenerateShapeRow(SHPDUMPERSTATE *state)
int ShpDumperCloseTable(SHPDUMPERSTATE *state)
int ShpDumperOpenTable(SHPDUMPERSTATE *state)
static GtkWidget * label_progress
static GtkWidget * progress
static void static void static void static void pgui_seterr(const char *fmt,...) __attribute__((format(printf
static volatile int is_running
static void static void static void pgui_logf(const char *fmt,...) __attribute__((format(printf
static void pgui_raise_error_dialogue(void)
static void static void static void static void static void update_conn_ui_from_conn_config(void)
static GtkWidget * dialog_progress
static int connection_test(void)
GtkListStore * export_table_list_store
#define GUIMSG_LINE_MAXLEN
static GtkWidget * dialog_folderchooser
static SHPCONNECTIONCONFIG * conn
static GtkWidget * window_conn
SHPCONNECTIONCONFIG * conn
char message[SHPDUMPERMSGLEN]