summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmlsecurity/inc/xmlsecurity/certificateviewer.hxx5
-rw-r--r--xmlsecurity/source/dialogs/certificateviewer.cxx7
-rw-r--r--xmlsecurity/source/dialogs/certificateviewer.src9
-rw-r--r--xmlsecurity/source/dialogs/dialogs.hrc5
4 files changed, 17 insertions, 9 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx
index 42edab819053..2573398d449f 100644
--- a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx
+++ b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: certificateviewer.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: mt $ $Date: 2004-07-23 09:58:19 $
+ * last change: $Author: gt $ $Date: 2004-07-27 09:00:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -173,6 +173,7 @@ private:
PushButton maViewCertPB;
FixedText maCertStatusFT;
MultiLineEdit maCertStatusML;
+ Image maCertImage;
DECL_LINK( ViewCertHdl, void* );
DECL_LINK( CertSelectHdl, void* );
diff --git a/xmlsecurity/source/dialogs/certificateviewer.cxx b/xmlsecurity/source/dialogs/certificateviewer.cxx
index a90cb8cecf9c..799e2f96b8ec 100644
--- a/xmlsecurity/source/dialogs/certificateviewer.cxx
+++ b/xmlsecurity/source/dialogs/certificateviewer.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: certificateviewer.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: gt $ $Date: 2004-07-27 07:57:37 $
+ * last change: $Author: gt $ $Date: 2004-07-27 09:00:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -397,6 +397,7 @@ CertificateViewerCertPathTP::CertificateViewerCertPathTP( Window* _pParent, Cert
,maViewCertPB ( this, ResId( BTN_VIEWCERT ) )
,maCertStatusFT ( this, ResId( FT_CERTSTATUS ) )
,maCertStatusML ( this, ResId( ML_CERTSTATUS ) )
+ ,maCertImage ( ResId( IMG_CERT_SMAL ) )
{
// fill list box
maCertPathLB.SetNodeDefaultImages();
@@ -493,7 +494,7 @@ void CertificateViewerCertPathTP::Clear( void )
SvLBoxEntry* CertificateViewerCertPathTP::InsertCert( SvLBoxEntry* _pParent, const String& _rName, cssu::Reference< dcss::security::XCertificate > rxCert )
{
- SvLBoxEntry* pEntry = maCertPathLB.InsertEntry( _rName, _pParent );
+ SvLBoxEntry* pEntry = maCertPathLB.InsertEntry( _rName, maCertImage, maCertImage, _pParent );
pEntry->SetUserData( ( void* ) new CertPath_UserData( rxCert ) );
return pEntry;
diff --git a/xmlsecurity/source/dialogs/certificateviewer.src b/xmlsecurity/source/dialogs/certificateviewer.src
index 638c4a32d059..c2b47acb113a 100644
--- a/xmlsecurity/source/dialogs/certificateviewer.src
+++ b/xmlsecurity/source/dialogs/certificateviewer.src
@@ -2,9 +2,9 @@
*
* $RCSfile: certificateviewer.src,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: mt $ $Date: 2004-07-21 13:57:52 $
+ * last change: $Author: gt $ $Date: 2004-07-27 09:00:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -370,4 +370,9 @@ TabPage RID_XMLSECTP_CERTPATH
ReadOnly = TRUE;
Border = TRUE;
};
+ Image IMG_CERT_SMAL
+ {
+ ImageBitmap = Bitmap { File = "certificate_16.png"; };
+ MaskColor = STD_MASKCOLOR;
+ };
};
diff --git a/xmlsecurity/source/dialogs/dialogs.hrc b/xmlsecurity/source/dialogs/dialogs.hrc
index a66b3f5b5b80..7b470ba257bf 100644
--- a/xmlsecurity/source/dialogs/dialogs.hrc
+++ b/xmlsecurity/source/dialogs/dialogs.hrc
@@ -2,9 +2,9 @@
*
* $RCSfile: dialogs.hrc,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: gt $ $Date: 2004-07-27 07:57:10 $
+ * last change: $Author: gt $ $Date: 2004-07-27 09:00:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -273,6 +273,7 @@
#define FT_CERTPATH 1
#define FT_CERTSTATUS 2
#define ML_CERTSTATUS 3
+#define IMG_CERT_SMAL 4
#define CV_ROW_0A (CV_ROW_0+RSC_SP_CTRL_DESC_Y+RSC_CD_FIXEDTEXT_HEIGHT)
#define CV_ROW_2A (CV_ROW_2+RSC_SP_CTRL_DESC_Y+RSC_CD_FIXEDTEXT_HEIGHT)