Log Message: ----------- Disable changing parameters of connected servers Modified Files: -------------- pgadmin3: CHANGELOG.txt (r1.159 -> r1.160) TODO.txt (r1.122 -> r1.123) pgadmin3/src/ui: dlgServer.cpp (r1.14 -> r1.15)
Index: TODO.txt =================================================================== RCS file: /projects/pgadmin3/TODO.txt,v retrieving revision 1.122 retrieving revision 1.123 diff -LTODO.txt -LTODO.txt -u -w -r1.122 -r1.123 --- TODO.txt +++ TODO.txt @@ -17,6 +17,7 @@ <li>Enhancements <ul> + <li>Allow server registration without connect <li>Sequence: calculate next value to be expected <li>language update check <li>Guru hints: Tables/PK, FK/covering index Index: CHANGELOG.txt =================================================================== RCS file: /projects/pgadmin3/CHANGELOG.txt,v retrieving revision 1.159 retrieving revision 1.160 diff -LCHANGELOG.txt -LCHANGELOG.txt -u -w -r1.159 -r1.160 --- CHANGELOG.txt +++ CHANGELOG.txt @@ -17,7 +17,8 @@ </ul> <br> <ul> - <li>2004-11-04 AP 1.2RC1 Fix duplicate functions in Cast dialog (r: Alexander Borkowski) + <li>2004-11-05 AP 1.2RC2 Disable changing parameters of connected servers + <li>2004-11-04 AP 1.2RC2 Fix duplicate functions in Cast dialog (r: Alexander Borkowski) <li>2004-11-03 AP 1.2RC1 MSW Combobox Workaround: missing EVT_TEXT events <li>2004-11-02 AP 1.2RC1 Fix some type related issues (r: Alexander Borkowski) <li>2004-11-02 AP 1.2RC1 Fix some owner change related issues (r: Alexander Borkowski) Index: dlgServer.cpp =================================================================== RCS file: /projects/pgadmin3/src/ui/dlgServer.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -Lsrc/ui/dlgServer.cpp -Lsrc/ui/dlgServer.cpp -u -w -r1.14 -r1.15 --- src/ui/dlgServer.cpp +++ src/ui/dlgServer.cpp @@ -95,6 +95,7 @@ if (server) { + server->iSetName(GetName()); server->iSetDescription(txtDescription->GetValue()); if (txtService->GetValue() != server->GetServiceID()) { @@ -138,8 +139,11 @@ if (cbSSL->IsEmpty()) return Go(true); else + { + CheckChange(); return ShowModal(); } +} int dlgServer::Go(bool modal) @@ -160,9 +164,6 @@ if (server) { cbDatabase->Append(server->GetDatabaseName()); - if (connection) - cbDatabase->Disable(); - txtDescription->SetValue(server->GetDescription()); txtService->SetValue(server->GetServiceID()); txtPort->SetValue(NumToStr((long)server->GetPort())); @@ -172,6 +173,15 @@ chkNeedPwd->SetValue(server->GetNeedPwd()); stPassword->Disable(); txtPassword->Disable(); + if (connection) + { + txtName->Disable(); + cbDatabase->Disable(); + txtPort->Disable(); + cbSSL->Disable(); + txtUsername->Disable(); + chkNeedPwd->Disable(); + } } else {
---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]