Tag: cws_src680_dba24
User: oj      
Date: 05/01/31 23:52:03

Modified:
 /dba/dbaccess/source/ui/dlg/
  ConnectionPage.cxx, dbwiz.cxx

Log:
 #i41727# disable propeties for specific types

File Changes:

Directory: /dba/dbaccess/source/ui/dlg/
=======================================

File [changed]: ConnectionPage.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/ConnectionPage.cxx?r1=1.7&r2=1.7.4.1
Delta lines:  +1 -1
-------------------
--- ConnectionPage.cxx  21 Jan 2005 17:11:45 -0000      1.7
+++ ConnectionPage.cxx  1 Feb 2005 07:52:00 -0000       1.7.4.1
@@ -323,7 +323,7 @@
                                        sText.SearchAndReplaceAscii("~",sTemp);
                                        m_aFT_Connection.SetText(sText);
                                }
-                               m_aFT_Connection.Hide();
+                               m_aET_Connection.Hide();
                                break;
                        case DST_JDBC:
                 m_aFT_Connection.SetText(String(ModuleRes(STR_COMMONURL)));

File [changed]: dbwiz.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/dbwiz.cxx?r1=1.4&r2=1.4.4.1
Delta lines:  +26 -1
--------------------
--- dbwiz.cxx   21 Jan 2005 17:14:46 -0000      1.4
+++ dbwiz.cxx   1 Feb 2005 07:52:00 -0000       1.4.4.1
@@ -200,6 +200,20 @@
 IMPL_LINK(ODbTypeWizDialog, OnTypeSelected, OGeneralPage*, _pTabPage)
 {
        m_eType = _pTabPage->GetSelectedType();
+    switch(m_eType)
+       {
+               case DST_MOZILLA:
+               case DST_OUTLOOK:
+               case DST_OUTLOOKEXP:
+               case DST_EVOLUTION:
+            enableButtons(WZB_NEXT,sal_False);
+                       enableButtons(WZB_FINISH,sal_True);
+                       break;
+        default:
+            enableButtons(WZB_NEXT,sal_True);
+            enableButtons(WZB_FINISH,sal_False);
+            break;
+    }
        return 1L;
 }
 //-------------------------------------------------------------------------
@@ -209,7 +223,18 @@
        switch(_nCurrentState)
        {
                case START_PAGE:
+            switch(m_eType)
+                       {
+                               case DST_MOZILLA:
+                               case DST_OUTLOOK:
+                               case DST_OUTLOOKEXP:
+                               case DST_EVOLUTION:
+                                       nNextState = WZS_INVALID_STATE;
+                                       break;
+                default:
                        nNextState = CONNECTION_PAGE;
+                    break;
+            }
                        break;
                case CONNECTION_PAGE:
                        switch(m_eType)




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to