PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ add_dumper_table_config_to_list()

static void add_dumper_table_config_to_list ( SHPDUMPERCONFIG dumper_table_config,
GtkListStore *  chooser_liststore,
GtkTreeIter *  chooser_iter 
)
static

Definition at line 1059 of file shp2pgsql-gui.c.

1060{
1061 GtkTreeIter iter;
1062 GtkListStore *geocol_liststore;
1063
1064 gtk_list_store_insert_before(export_table_list_store, &iter, NULL);
1065 gtk_list_store_set(export_table_list_store, &iter,
1066 EXPORT_POINTER_COLUMN, dumper_table_config,
1067 EXPORT_SCHEMA_COLUMN, dumper_table_config->schema,
1068 EXPORT_TABLE_COLUMN, dumper_table_config->table,
1069 EXPORT_GEOMETRY_COLUMN, dumper_table_config->geo_col_name,
1070 EXPORT_FILENAME_COLUMN, dumper_table_config->shp_file,
1071 -1);
1072
1073 /* If we have supplied the table_chooser store for additional information, use it */
1074 if (chooser_liststore)
1075 {
1076 /* Let's add a multi-choice geometry column to the table */
1077 gtk_tree_model_get(GTK_TREE_MODEL(chooser_liststore), chooser_iter,
1078 TABLECHOOSER_GEO_LISTSTORE_COLUMN, &geocol_liststore,
1079 -1);
1080
1081 gtk_list_store_set(export_table_list_store, &iter,
1082 EXPORT_GEOMETRY_LISTSTORE_COLUMN, geocol_liststore,
1083 -1);
1084 }
1085
1086 return;
1087}
@ TABLECHOOSER_GEO_LISTSTORE_COLUMN
GtkListStore * export_table_list_store
@ EXPORT_TABLE_COLUMN
@ EXPORT_SCHEMA_COLUMN
@ EXPORT_GEOMETRY_COLUMN
@ EXPORT_POINTER_COLUMN
@ EXPORT_FILENAME_COLUMN
@ EXPORT_GEOMETRY_LISTSTORE_COLUMN

References EXPORT_FILENAME_COLUMN, EXPORT_GEOMETRY_COLUMN, EXPORT_GEOMETRY_LISTSTORE_COLUMN, EXPORT_POINTER_COLUMN, EXPORT_SCHEMA_COLUMN, EXPORT_TABLE_COLUMN, export_table_list_store, shp_dumper_config::geo_col_name, shp_dumper_config::schema, shp_dumper_config::shp_file, shp_dumper_config::table, and TABLECHOOSER_GEO_LISTSTORE_COLUMN.

Referenced by pgui_action_open_table_dialog().

Here is the caller graph for this function: