PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void update_conn_ui_from_conn_config ( void  )
static

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

References 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().

2366 {
2367  if (conn->username)
2368  gtk_entry_set_text(GTK_ENTRY(entry_pg_user), conn->username);
2369  else
2370  gtk_entry_set_text(GTK_ENTRY(entry_pg_user), "");
2371 
2372  if (conn->password)
2373  gtk_entry_set_text(GTK_ENTRY(entry_pg_pass), conn->password);
2374  else
2375  gtk_entry_set_text(GTK_ENTRY(entry_pg_pass), "");
2376 
2377  if (conn->host)
2378  gtk_entry_set_text(GTK_ENTRY(entry_pg_host), conn->host);
2379  else
2380  gtk_entry_set_text(GTK_ENTRY(entry_pg_host), "");
2381 
2382  if (conn->port)
2383  gtk_entry_set_text(GTK_ENTRY(entry_pg_port), conn->port);
2384  else
2385  gtk_entry_set_text(GTK_ENTRY(entry_pg_port), "");
2386 
2387  if (conn->database)
2388  gtk_entry_set_text(GTK_ENTRY(entry_pg_db), conn->database);
2389  else
2390  gtk_entry_set_text(GTK_ENTRY(entry_pg_db), "");
2391 
2392  return;
2393 }
static GtkWidget * entry_pg_db
static GtkWidget * entry_pg_host
static SHPCONNECTIONCONFIG * conn
static GtkWidget * entry_pg_port
static GtkWidget * entry_pg_user
static GtkWidget * entry_pg_pass

Here is the caller graph for this function: