PostGIS 3.7.0dev-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 1072 of file shp2pgsql-gui.c.

1073{
1074 GtkTreeIter iter;
1075 GtkListStore *geocol_liststore;
1076
1077 gtk_list_store_insert_before(export_table_list_store, &iter, NULL);
1078 gtk_list_store_set(export_table_list_store, &iter,
1079 EXPORT_POINTER_COLUMN, dumper_table_config,
1080 EXPORT_SCHEMA_COLUMN, dumper_table_config->schema,
1081 EXPORT_TABLE_COLUMN, dumper_table_config->table,
1082 EXPORT_GEOMETRY_COLUMN, dumper_table_config->geo_col_name,
1083 EXPORT_FILENAME_COLUMN, dumper_table_config->shp_file,
1084 -1);
1085
1086 /* If we have supplied the table_chooser store for additional information, use it */
1087 if (chooser_liststore)
1088 {
1089 /* Let's add a multi-choice geometry column to the table */
1090 gtk_tree_model_get(GTK_TREE_MODEL(chooser_liststore), chooser_iter,
1091 TABLECHOOSER_GEO_LISTSTORE_COLUMN, &geocol_liststore,
1092 -1);
1093
1094 gtk_list_store_set(export_table_list_store, &iter,
1095 EXPORT_GEOMETRY_LISTSTORE_COLUMN, geocol_liststore,
1096 -1);
1097 }
1098
1099 return;
1100}
@ 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: