PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ 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 1057 of file shp2pgsql-gui.c.

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

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: