PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ pgui_set_loader_configs_from_options_ui()

static void pgui_set_loader_configs_from_options_ui ( )
static

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

635 {
636  GtkTreeIter iter;
637  gboolean is_valid;
638  gpointer gptr;
639  SHPLOADERCONFIG *loader_file_config;
640 
641  /* First update the global (template) configuration */
643 
644  /* Now also update the same settings for any existing files already added. We
645  do this by looping through all entries and updating their config too. */
646  is_valid = gtk_tree_model_get_iter_first(GTK_TREE_MODEL(import_file_list_store), &iter);
647  while (is_valid)
648  {
649  /* Get the SHPLOADERCONFIG for this file entry */
650  gtk_tree_model_get(GTK_TREE_MODEL(import_file_list_store), &iter, IMPORT_POINTER_COLUMN, &gptr, -1);
651  loader_file_config = (SHPLOADERCONFIG *)gptr;
652 
653  /* Update it */
655 
656  /* Get next entry */
657  is_valid = gtk_tree_model_iter_next(GTK_TREE_MODEL(import_file_list_store), &iter);
658  }
659 
660  return;
661 }
static void update_loader_config_globals_from_options_ui(SHPLOADERCONFIG *config)
@ IMPORT_POINTER_COLUMN
GtkListStore * import_file_list_store
Definition: shp2pgsql-gui.c:56
static SHPLOADERCONFIG * global_loader_config

References global_loader_config, import_file_list_store, IMPORT_POINTER_COLUMN, and update_loader_config_globals_from_options_ui().

Referenced by pgui_action_loader_options_close().

Here is the call graph for this function:
Here is the caller graph for this function: