PostGIS  2.3.7dev-r@@SVN_REVISION@@
static void update_options_ui_from_loader_config_globals ( void  )
static

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

References checkbutton_loader_options_autoindex, checkbutton_loader_options_dbfonly, checkbutton_loader_options_dumpformat, checkbutton_loader_options_forceint, checkbutton_loader_options_geography, checkbutton_loader_options_preservecase, checkbutton_loader_options_simplegeoms, shp_loader_config::createindex, shp_loader_config::dump_format, shp_loader_config::encoding, entry_options_encoding, FALSE, shp_loader_config::forceint4, shp_loader_config::geography, shp_loader_config::quoteidentifiers, shp_loader_config::readshape, shp_loader_config::simple_geometries, and TRUE.

Referenced by pgui_action_loader_options_open().

619 {
620  gtk_entry_set_text(GTK_ENTRY(entry_options_encoding), global_loader_config->encoding);
621  gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbutton_loader_options_preservecase), global_loader_config->quoteidentifiers ? TRUE : FALSE);
622  gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbutton_loader_options_forceint), global_loader_config->forceint4 ? TRUE : FALSE);
623  gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbutton_loader_options_autoindex), global_loader_config->createindex ? TRUE : FALSE);
624  gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbutton_loader_options_dbfonly), global_loader_config->readshape ? FALSE : TRUE);
625  gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbutton_loader_options_dumpformat), global_loader_config->dump_format ? TRUE : FALSE);
626  gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbutton_loader_options_geography), global_loader_config->geography ? TRUE : FALSE);
627  gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbutton_loader_options_simplegeoms), global_loader_config->simple_geometries ? TRUE : FALSE);
628 
629  return;
630 }
static GtkWidget * checkbutton_loader_options_preservecase
static GtkWidget * checkbutton_loader_options_dumpformat
static SHPLOADERCONFIG * global_loader_config
static GtkWidget * checkbutton_loader_options_geography
static GtkWidget * checkbutton_loader_options_forceint
static GtkWidget * entry_options_encoding
static GtkWidget * checkbutton_loader_options_simplegeoms
static GtkWidget * checkbutton_loader_options_dbfonly
#define FALSE
Definition: dbfopen.c:168
static GtkWidget * checkbutton_loader_options_autoindex
#define TRUE
Definition: dbfopen.c:169

Here is the caller graph for this function: