photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandleraiwedit.cpp
changeset 2 7d9067c6fcb1
parent 0 4e91876724a2
child 3 9a9c174934f5
--- a/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandleraiwedit.cpp	Thu Jan 07 12:46:23 2010 +0200
+++ b/photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandleraiwedit.cpp	Mon Jan 18 20:19:20 2010 +0200
@@ -57,8 +57,9 @@
 	{
 	if (!aFilterUsingSelection || SelectionLength() <= MaxSelectedItems())
 		{
-		// Add filename attribute to fetch context
-		aAttributes.AppendL(KMPXMediaGeneralUri);
+	    // Add MIME type and fileaname attributes
+	    aAttributes.AppendL(KMPXMediaGeneralMimeType);
+		aAttributes.AppendL(KMPXMediaGeneralUri);		
 		}
 	}
 
@@ -109,7 +110,8 @@
     return AppendDefaultAiwParameterL(  aItem, 
                                         aAiwServiceHandler, 
                                         ETrue,                  // Add the Uri
-                                        EFalse);                // Don't add the Mime Type
+                                        ETrue);                // Add the Mime Type
+		                                       
     }
 
 // -----------------------------------------------------------------------------