From 797bcf1c33e166b7880c5eed7292a600ce3e6fd0 Mon Sep 17 00:00:00 2001 From: gt Date: Tue, 27 Jul 2004 08:00:36 +0000 Subject: #i20883# image for tree list in Certification Path --- xmlsecurity/source/dialogs/certificateviewer.cxx | 7 ++++--- xmlsecurity/source/dialogs/certificateviewer.src | 9 +++++++-- xmlsecurity/source/dialogs/dialogs.hrc | 5 +++-- 3 files changed, 14 insertions(+), 7 deletions(-) (limited to 'xmlsecurity/source') 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) -- cgit