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

Definition at line 633 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().

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