From: Himanshu Date: Mon, 15 Jul 2013 09:16:15 +0000 (+0530) Subject: Fixed issue 46273 X-Git-Tag: submit/tizen_2.2/20130716.172725^0 X-Git-Url: http://review.tizen.org/git/?p=apps%2Fosp%2FGallery.git;a=commitdiff_plain;h=169c19fe7a624c8507a491df1ac20a9e03848e73 Fixed issue 46273 Change-Id: Ic9354a56bf92ec0bdd907f83549fc6bf99da2a4e Signed-off-by: Himanshu --- diff --git a/src/GlFileListEditorForm.cpp b/src/GlFileListEditorForm.cpp index ef41843..db81583 100644 --- a/src/GlFileListEditorForm.cpp +++ b/src/GlFileListEditorForm.cpp @@ -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(__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);