diff -r 9ba538e329bd -r 7d9067c6fcb1 photosgallery/viewframework/commandhandlers/commoncommandhandlers/src/glxcommandhandleraiwedit.cpp --- 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 + } // -----------------------------------------------------------------------------