NABI_SE issue fixed, Changed usage of deprectaed APIs
authorchitta.rs <chitta.rs@samsung.com>
Tue, 14 May 2013 14:04:45 +0000 (19:34 +0530)
committerchitta.rs <chitta.rs@samsung.com>
Tue, 14 May 2013 14:04:45 +0000 (19:34 +0530)
Change-Id: I6c0a7eb6d83de8818ab38a41e1574d655e242f89

src/MfCategorySearch.cpp
src/MfSubBaseSelectionForm.cpp
src/MfSubFolderFileListForm.cpp
src/MfTopLevelFolderFileListForm.cpp

index 4cfab57..b74e5ba 100644 (file)
@@ -408,7 +408,7 @@ CategorySearch::OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentScen
 
        if (_pIconListView != null)
        {
-               _pIconListView->RemoveGestureDetector(*_pLongPressGestureDetector);
+               _pIconListView->RemoveGestureDetector(_pLongPressGestureDetector);
        }
 
 }
index bc73581..a2b6684 100644 (file)
@@ -342,6 +342,11 @@ SubBaseSelection::CreateDefaultContentItem(int index, int itemWidth)
                        }
                        else
                        {
+                               if (!pFileDetails->GetFileExtension().IsEmpty())
+                               {
+                                       filename = filename + "." + pFileDetails->GetFileExtension();
+                               }
+
                                if (pFileDetails->GetBitmap() == null)
                                {
                                        if (pCacheList != null && (contentType == CONTENT_TYPE_IMAGE || contentType == CONTENT_TYPE_VIDEO))
index 3bada48..fad956e 100644 (file)
@@ -716,7 +716,7 @@ SubFolderFileListForm::OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& curr
 
        if (_pIconListView != null)
        {
-               _pIconListView->RemoveGestureDetector(*_pLongPressGestureDetector);
+               _pIconListView->RemoveGestureDetector(_pLongPressGestureDetector);
        }
 
        TryReturn(_pFolderEntryPM!=null, , "FolderEntryPresentationModel is NULL") ;
index bb31fef..3c18597 100644 (file)
@@ -276,7 +276,7 @@ TopLevelFolderFileListForm::OnSceneDeactivated(const SceneId& currentSceneId, co
 
        if (_pIconListView != null)
        {
-               _pIconListView->RemoveGestureDetector(*_pLongPressGestureDetector);
+               _pIconListView->RemoveGestureDetector(_pLongPressGestureDetector);
        }
 
        ((MyFilesApp*) Application::GetInstance())->SetCurrentView(null);