PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ update_conn_ui_from_conn_config()

static void update_conn_ui_from_conn_config ( void  )
static

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

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