PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void pgui_set_loader_configs_from_options_ui ( )
static

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

References import_file_list_store, IMPORT_POINTER_COLUMN, and update_loader_config_globals_from_options_ui().

Referenced by pgui_action_loader_options_close().

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

Here is the call graph for this function:

Here is the caller graph for this function: