PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ update_conn_ui_from_conn_config()

static void update_conn_ui_from_conn_config ( void  )
static

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

2377 {
2378  if (conn->username)
2379  gtk_entry_set_text(GTK_ENTRY(entry_pg_user), conn->username);
2380  else
2381  gtk_entry_set_text(GTK_ENTRY(entry_pg_user), "");
2382 
2383  if (conn->password)
2384  gtk_entry_set_text(GTK_ENTRY(entry_pg_pass), conn->password);
2385  else
2386  gtk_entry_set_text(GTK_ENTRY(entry_pg_pass), "");
2387 
2388  if (conn->host)
2389  gtk_entry_set_text(GTK_ENTRY(entry_pg_host), conn->host);
2390  else
2391  gtk_entry_set_text(GTK_ENTRY(entry_pg_host), "");
2392 
2393  if (conn->port)
2394  gtk_entry_set_text(GTK_ENTRY(entry_pg_port), conn->port);
2395  else
2396  gtk_entry_set_text(GTK_ENTRY(entry_pg_port), "");
2397 
2398  if (conn->database)
2399  gtk_entry_set_text(GTK_ENTRY(entry_pg_db), conn->database);
2400  else
2401  gtk_entry_set_text(GTK_ENTRY(entry_pg_db), "");
2402 
2403  return;
2404 }
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: