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

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