photosgallery/viewframework/views/metadatadialog/src/glximgvwrmetadatacontainer.cpp
branchRCL_3
changeset 30 a60acebbbd9d
parent 18 bcb43dc84c44
child 32 78ad99c24f08
--- a/photosgallery/viewframework/views/metadatadialog/src/glximgvwrmetadatacontainer.cpp	Tue Apr 27 16:37:53 2010 +0300
+++ b/photosgallery/viewframework/views/metadatadialog/src/glximgvwrmetadatacontainer.cpp	Tue May 11 16:13:40 2010 +0300
@@ -319,7 +319,7 @@
                 else if(index == EImgVwrDateAndTimeItem)
                     {  
                     stringConverter->AsStringL( item, 
-                            KMPXMediaGeneralDate,
+                            KGlxMediaGeneralLastModifiedDate,
                             R_QTN_DATE_USUAL_WITH_ZERO,string );
                     }
                 else if(index == EImgVwrDescriptionItem)
@@ -526,7 +526,7 @@
     iMainListAttributecontext->AddAttributeL(KMPXMediaGeneralSize);
     iMainListAttributecontext->AddAttributeL(KGlxMediaGeneralDimensions); 
     iMainListAttributecontext->AddAttributeL(KMPXMediaGeneralTitle);
-    iMainListAttributecontext->AddAttributeL(KMPXMediaGeneralDate);
+    iMainListAttributecontext->AddAttributeL(KGlxMediaGeneralLastModifiedDate);
     iMainListAttributecontext->AddAttributeL(KMPXMediaGeneralComment); 
 
     //Add Context so that we get the handleattributes call once the medialist is populated with above mentioned attributes.
@@ -560,7 +560,7 @@
     HBufC* string = NULL;    
 
     //if attribute is date and time we need to pass the format it as R_QTN_DATE_USUAL_WITH_ZERO else null
-    if(attribute == KMPXMediaGeneralDate)
+    if(attribute == KGlxMediaGeneralLastModifiedDate)
         {
         stringConverter->AsStringL(item, 
                 attribute,
@@ -584,7 +584,7 @@
             {
             EditItemL(EImgVwrNameItem,EFalse);
             }
-        else if(attribute == KMPXMediaGeneralDate)
+        else if(attribute == KGlxMediaGeneralLastModifiedDate)
             {  
             EditItemL(EImgVwrDateAndTimeItem,EFalse);
             }