menucontentsrv/srvsrc/menusrvappscanner.cpp
branchRCL_3
changeset 101 9e077f9a342c
parent 82 ace62b58f4b2
--- a/menucontentsrv/srvsrc/menusrvappscanner.cpp	Wed Jun 09 10:01:25 2010 +0300
+++ b/menucontentsrv/srvsrc/menusrvappscanner.cpp	Mon Jun 21 16:00:38 2010 +0300
@@ -32,7 +32,6 @@
 _LIT( KMenuOne, "1" );
 _LIT( KMenuAttrMmcId, "mmc_id" );
 _LIT( KMenuMassStorage, "mass_storage" );
-_LIT( KMenuPredefinedWidget, "predefined_widget" );
 _LIT( KMenuMmcHistoryFname, "mmchistory" );
 
 // ==================== LOCAL FUNCTIONS ====================
@@ -1058,7 +1057,7 @@
             flags = TMenuItem::EMissing;
             }
         else if ( iEng.ObjectL( aItem.Id() ).FindAttribute(
-                KMenuPredefinedWidget(), val, dummy ) )
+                KMenuAttrPredefined(), val, dummy ) )
             {
             flags = TMenuItem::EMissing;
             }
@@ -1066,7 +1065,7 @@
     else if( iEng.ObjectL( aItem.Id() ).GetAppType()
                 != CMenuEngObject::EWidgetApp
             || iEng.ObjectL( aItem.Id() ).FindAttribute(
-                    KMenuPredefinedWidget(), val, dummy ) )
+            		KMenuAttrPredefined(), val, dummy ) )
         {
         flags = TMenuItem::EHidden;
         }