NABI_SE issues fixes
authorchitta.rs <chitta.rs@samsung.com>
Mon, 29 Apr 2013 08:31:23 +0000 (14:01 +0530)
committerchitta.rs <chitta.rs@samsung.com>
Mon, 29 Apr 2013 08:31:23 +0000 (14:01 +0530)
Change-Id: I29f1870df4d078b39e3613c33a8d1cfe0f976d81

res/screen-density-xhigh/00_icon_more_press.png [new file with mode: 0644]
src/MfSubBaseFolderEntryForm.cpp
src/MfSubFolderFileListForm.cpp
src/MfTypes.cpp

diff --git a/res/screen-density-xhigh/00_icon_more_press.png b/res/screen-density-xhigh/00_icon_more_press.png
new file mode 100644 (file)
index 0000000..3a13509
Binary files /dev/null and b/res/screen-density-xhigh/00_icon_more_press.png differ
index e788cc7..1fea6a2 100644 (file)
@@ -1053,6 +1053,7 @@ SubBaseFolderEntryForm::ShowMoreContextMenu(void)
                _pMoreContextMenu->SetShowState(true);
                _pMoreContextMenu->Show();
        }
+
        AppLogDebug("Exit: %s", GetErrorMessage(r));
 }
 
@@ -2240,7 +2241,7 @@ SubBaseFolderEntryForm::CreateIconListViewContextMenu(void)
        //Create the ContextMenu
        _pIconListViewContextMenu = new (std::nothrow) ContextMenu();
 
-       _pIconListViewContextMenu->Construct(Point(0, 0), CONTEXT_MENU_STYLE_LIST, CONTEXT_MENU_ANCHOR_DIRECTION_DOWNWARD);
+       _pIconListViewContextMenu->Construct(Point(0, 0), CONTEXT_MENU_STYLE_LIST, CONTEXT_MENU_ANCHOR_DIRECTION_AUTO);
        _pIconListViewContextMenu->SetItemTextColor(CONTEXT_MENU_ITEM_STATUS_NORMAL, Color::GetColor(COLOR_ID_WHITE));
        _pIconListViewContextMenu->SetItemTextColor(CONTEXT_MENU_ITEM_STATUS_PRESSED, Color::GetColor(COLOR_ID_WHITE));
 
@@ -2332,6 +2333,12 @@ void
 SubBaseFolderEntryForm::OnAppControlCompleted(void)
 {
        AppLogDebug("Enter");
+//     int fileCount = 0;
+//     int folderCount = 0;
+//
+//     _pFolderEntryPM->GetFolderEntryCount(FolderNavigationPresentationModel::GetCurrentPath(),folderCount, fileCount);
+
+       SetFooterVisibility(ENABLE_FOOTER_ITEM);
 
        if( !_bBackFromAppControl )
                return;
@@ -2350,6 +2357,7 @@ SubBaseFolderEntryForm::OnAppControlCompleted(void)
        {
                _pFolderEntryPM->InitThumbnailManager();
        }
+
        _bBackFromAppControl = false;
        AppLogDebug("Exit");
 }
index a3825c9..711ac4b 100644 (file)
@@ -915,7 +915,7 @@ SubFolderFileListForm::ShowParentDirectoryView(void)
        displayPath = defaultPhoneBody;
        displayPath.Append("/");
 
-       SetFooterVisibility(ENABLE_FOOTER_ITEM);
+       //SetFooterVisibility(ENABLE_FOOTER_ITEM);
 
        if (backUpCurrentPath == BasePresentationModel::GetMediaPath() || backUpCurrentPath == BasePresentationModel::GetSdCardPath() || backUpCurrentPath == BasePresentationModel::GetUsbPath())
        {
@@ -1006,6 +1006,8 @@ CATCH:
 void
 SubFolderFileListForm::OnNotificationReceived(Tizen::Base::Collection::ArrayList* pArgs)
 {
+       AppLogDebug("Enter");
+
        Integer* pFileProcessingResult = null;
        String cachePath;
 
index 6ab2a29..d63fbf7 100644 (file)
@@ -64,7 +64,7 @@ const wchar_t* sdCardStatusUnmounted = L"Unmounted";
 //Bitmaps
 const wchar_t* IDB_MORE = L"00_icon_more_status_normal.png";
 const wchar_t* IDB_MORE_DISABLED = L"00_icon_more_ef.png";
-const wchar_t* IDB_MORE_PRESS = L"00_icon_more.png";
+const wchar_t* IDB_MORE_PRESS = L"00_icon_more_press.png";
 
 //Popup
 const wchar_t* IDB_BACKGROUND_POPUP_BOTTOM = L"00_popup_bottom_bg.9.png";