--- a/photosgallery/viewframework/views/metadatadialog/src/glxmetadatacontainer.cpp Thu Dec 17 08:45:44 2009 +0200
+++ b/photosgallery/viewframework/views/metadatadialog/src/glxmetadatacontainer.cpp Thu Jan 07 12:46:23 2010 +0200
@@ -543,12 +543,11 @@
if( aMenuId == R_METADATA_MENU )
{
//Set dim the options based on the utem selected
- //Edit option will be available only for ENameItem,EDescriptionItem,ETagsItem,EAlbumItem
//Viewdetails option will be availble only for the license item
//Delete option will be available only for the location item
- //aMenuPane->SetItemDimmed(KGlxEditBoundMenuCommandId,IsItemModifiable());
aMenuPane->SetItemDimmed(KGlxViewBoundMenuCommandId,IsLicenseItem());
- aMenuPane->SetItemDimmed(KGlxDeleteBoundMenuCommandId,IsLocationItem());
+ //location info will be enabled if the item has a location info
+ aMenuPane->SetItemDimmed(KGlxDeleteBoundMenuCommandId,IsLocationItem());
aMenuPane->SetItemDimmed(EGlxCmdAiwShowMap,IsLocationItem());
}