PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ update_conn_ui_from_conn_config()

static void update_conn_ui_from_conn_config ( void  )
static

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

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