Fixed issue 46273 submit/tizen_2.2/20130716.172725 submit/tizen_2.2/20130717.051916 submit/tizen_2.2/20130717.052932
authorHimanshu <himanshu.t@samsung.com>
Mon, 15 Jul 2013 09:16:15 +0000 (14:46 +0530)
committerHimanshu <himanshu.t@samsung.com>
Mon, 15 Jul 2013 09:16:15 +0000 (14:46 +0530)
Change-Id: Ic9354a56bf92ec0bdd907f83549fc6bf99da2a4e
Signed-off-by: Himanshu <himanshu.t@samsung.com>
src/GlFileListEditorForm.cpp

index ef41843..db81583 100644 (file)
@@ -982,11 +982,13 @@ FileListEditorForm::RefreshFolderList(void)
 
                loopCount = __pContentDirectoryNameList->GetCount();
 
+               String dirAllAlbums = L"All albums";
+
                for (int i = 0; i < loopCount; ++i)
                {
                        pDirName = static_cast<String*>(__pContentDirectoryNameList->GetAt(i));
 
-                       if (*pDirName != __pPresentationModel->GetCurrentAlbumName())
+                       if (*pDirName != __pPresentationModel->GetCurrentAlbumName() || *pDirName == dirAllAlbums)
                        {
                                __pOptionMenu->AddItem(*(new (std::nothrow) String(*pDirName)),
                                                IDA_CONTEXTMENU_EDITOR_MOVE_ALBUM_ARRAY_START + i);