equal
deleted
inserted
replaced
180 |
180 |
181 iSpeedTnAttrib = TMPXAttribute (KGlxMediaIdThumbnail, |
181 iSpeedTnAttrib = TMPXAttribute (KGlxMediaIdThumbnail, |
182 GlxFullThumbnailAttributeId( EFalse, iGridIconSize.iWidth, |
182 GlxFullThumbnailAttributeId( EFalse, iGridIconSize.iWidth, |
183 iGridIconSize.iHeight ) ); |
183 iGridIconSize.iHeight ) ); |
184 CreateGridL(); |
184 CreateGridL(); |
|
185 |
|
186 iIsDialogLaunched = EFalse; |
|
187 iIsMMCRemoved = EFalse; |
185 |
188 |
186 iMMCNotifier = CGlxMMCNotifier::NewL(*this); |
189 iMMCNotifier = CGlxMMCNotifier::NewL(*this); |
187 } |
190 } |
188 |
191 |
189 // --------------------------------------------------------------------------- |
192 // --------------------------------------------------------------------------- |
929 //@ fix for ESLM-7VRGKH |
932 //@ fix for ESLM-7VRGKH |
930 if(iHgGrid) |
933 if(iHgGrid) |
931 { |
934 { |
932 iHgGrid->InitScreenL(GetHgGridRect()); |
935 iHgGrid->InitScreenL(GetHgGridRect()); |
933 } |
936 } |
|
937 if (iIsDialogLaunched && iIsMMCRemoved) |
|
938 { |
|
939 iGlxGridViewObserver.HandleGridEventsL(EAknSoftkeyExit); |
|
940 } |
934 retVal = ETrue; |
941 retVal = ETrue; |
|
942 iIsDialogLaunched = EFalse; |
935 break; |
943 break; |
936 } |
944 } |
|
945 case EGlxCmdDialogLaunched: |
|
946 { |
|
947 iIsDialogLaunched = ETrue; |
|
948 break; |
|
949 } |
937 default: |
950 default: |
938 break; |
951 break; |
939 } |
952 } |
940 GLX_LOG_INFO("CGlxGridViewContainer::HandleViewCommandL() exiting"); |
953 GLX_LOG_INFO("CGlxGridViewContainer::HandleViewCommandL() exiting"); |
941 return retVal; |
954 return retVal; |
985 // |
998 // |
986 // --------------------------------------------------------------------------- |
999 // --------------------------------------------------------------------------- |
987 void CGlxGridViewContainer::HandleMMCRemovalL() |
1000 void CGlxGridViewContainer::HandleMMCRemovalL() |
988 { |
1001 { |
989 TRACER("CGlxGridViewContainer::HandleMMCRemovalL()"); |
1002 TRACER("CGlxGridViewContainer::HandleMMCRemovalL()"); |
990 iGlxGridViewObserver.HandleGridEventsL(EAknSoftkeyExit); |
1003 iIsMMCRemoved = ETrue; |
|
1004 if(!iIsDialogLaunched) |
|
1005 { |
|
1006 iGlxGridViewObserver.HandleGridEventsL(EAknSoftkeyExit); |
|
1007 } |
991 } |
1008 } |
992 //end of file |
1009 //end of file |