PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ update_conn_ui_from_conn_config()

static void update_conn_ui_from_conn_config ( void  )
static

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

2404 {
2405  if (conn->username)
2406  gtk_entry_set_text(GTK_ENTRY(entry_pg_user), conn->username);
2407  else
2408  gtk_entry_set_text(GTK_ENTRY(entry_pg_user), "");
2409 
2410  if (conn->password)
2411  gtk_entry_set_text(GTK_ENTRY(entry_pg_pass), conn->password);
2412  else
2413  gtk_entry_set_text(GTK_ENTRY(entry_pg_pass), "");
2414 
2415  if (conn->host)
2416  gtk_entry_set_text(GTK_ENTRY(entry_pg_host), conn->host);
2417  else
2418  gtk_entry_set_text(GTK_ENTRY(entry_pg_host), "");
2419 
2420  if (conn->port)
2421  gtk_entry_set_text(GTK_ENTRY(entry_pg_port), conn->port);
2422  else
2423  gtk_entry_set_text(GTK_ENTRY(entry_pg_port), "");
2424 
2425  if (conn->database)
2426  gtk_entry_set_text(GTK_ENTRY(entry_pg_db), conn->database);
2427  else
2428  gtk_entry_set_text(GTK_ENTRY(entry_pg_db), "");
2429 
2430  return;
2431 }
static GtkWidget * entry_pg_port
static GtkWidget * entry_pg_host
static GtkWidget * entry_pg_user
static GtkWidget * entry_pg_db
static GtkWidget * entry_pg_pass
static SHPCONNECTIONCONFIG * conn

References conn, shp_connection_state::database, entry_pg_db, entry_pg_host, entry_pg_pass, entry_pg_port, entry_pg_user, shp_connection_state::host, shp_connection_state::password, shp_connection_state::port, and shp_connection_state::username.

Referenced by pgui_action_connection_details(), pgui_action_export(), pgui_action_import(), and pgui_action_open_table_dialog().

Here is the caller graph for this function: