iaupdate/IAD/ui/src/iaupdatedetailsdialog.cpp
branchRCL_3
changeset 18 3ba40be8e484
parent 0 ba25891c3a9e
--- a/iaupdate/IAD/ui/src/iaupdatedetailsdialog.cpp	Fri Feb 19 22:57:02 2010 +0200
+++ b/iaupdate/IAD/ui/src/iaupdatedetailsdialog.cpp	Fri Mar 12 15:43:14 2010 +0200
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -143,13 +143,13 @@
 
     TPtr ptr = iBuf->Des();
     
-    //TPtrC name =         iParam->iNode->Base().Name();
+    TPtrC name =         iParam->iNode->Base().Name();
     TPtrC description =  iParam->iNode->Base().Description();
     TIAUpdateVersion version = iParam->iNode->Base().Version();
     TInt contentSize =   iParam->iNode->Base().ContentSizeL();
     
     
-    /*HBufC* hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_APP_NAME );
+    HBufC* hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_APP_NAME );
     ptr.Append( KOpeningBoldTag );
     ptr.Append( *hBuf );
     ptr.Append( KClosingBoldTag );
@@ -158,9 +158,9 @@
     ptr.Append( KNewLine );
     ptr.Append( name );
     ptr.Append( KNewLine );
-    ptr.Append( KNewLine );*/
-    
-    HBufC* hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_DESCRIPTION );
+    ptr.Append( KNewLine );
+       
+    hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_DESCRIPTION );
     ptr.Append( KOpeningBoldTag );
     ptr.Append( *hBuf );
     ptr.Append( KClosingBoldTag );
@@ -211,9 +211,9 @@
 	{
 	ConstructTextL();
 
-	//HBufC* hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_TITLE );
-	IAUpdateDialogUtil::ShowMessageQueryL( iParam->iNode->Base().Name(), *iBuf );
-	//CleanupStack::PopAndDestroy( hBuf );
+	HBufC* hBuf = StringLoader::LoadLC( R_IAUPDATE_DETAILS_DIALOG_TITLE );
+	IAUpdateDialogUtil::ShowMessageQueryL( *hBuf, *iBuf );
+	CleanupStack::PopAndDestroy( hBuf );
     
     return ETrue;
 	}