Removed the deprecated Menu and Back buuton api
[apps/osp/Gallery.git] / src / GlAllListPanel.cpp
index d16bfcf..e7590a6 100644 (file)
@@ -357,6 +357,16 @@ AllListPanel::OnSceneActivatedN(const SceneId& previousSceneId,
                if (pFileListForm != null)
                {
                        pFileListForm->SetTitleText(__pPresentationModel->GetCurrentAlbumName());
+
+                       if( __itemCount == 0)
+                       {
+                               pFileListForm->SetMenuState(false);
+                       }
+                       else
+                       {
+                               pFileListForm->SetMenuState(true);
+                       }
+
                }
                __pPresentationModel->AddContentEventListener(pFileListForm);
        }