Fixed Nabi Issues 49466,55718,55225,52332
[apps/osp/Internet.git] / src / IntEditBookmarkListForm.cpp
index 805deb2..d9cfc46 100644 (file)
@@ -29,7 +29,6 @@
 #include "IntCommonLib.h"
 #include "IntEditBookmarkListForm.h"
 #include "IntFaviconManager.h"
-#include "IntNotificationPanel.h"
 #include "IntSceneRegister.h"
 #include "IntTypes.h"
 
@@ -75,6 +74,7 @@ EditBookmarkListForm::EditBookmarkListForm(void)
        __pConfirmationPopup = null;
        __pSelectedList = null;
        __fontSize = 44;
+       __pNotification = null;
 }
 
 EditBookmarkListForm::~EditBookmarkListForm(void)
@@ -89,6 +89,8 @@ EditBookmarkListForm::~EditBookmarkListForm(void)
                __pSelectedList->RemoveAll(false);
                delete __pSelectedList;
        }
+//     if(__pNotification)
+//             delete __pNotification;
 }
 
 bool
@@ -305,10 +307,15 @@ EditBookmarkListForm::OnActionPerformed(const Tizen::Ui::Control& source, int ac
                        __pInfoPanel->Show();
                }
 
-               NotificationPanel* pNotification = new (std::nothrow) NotificationPanel(*this);
+//             if(__pNotification)
+//             {
+////                   delete __pNotification;
+//                     __pNotification = null;
+//             }
+               __pNotification = new (std::nothrow) NotificationPanel(*this);
                String notification = CommonUtil::GetString(L"IDS_BR_POP_DELETED");
-               pNotification->SetText(notification);
-               pNotification->ShowNotification();
+               __pNotification->SetText(notification);
+               __pNotification->ShowNotification();
 
                if(__pConfirmationPopup)
                {
@@ -935,6 +942,9 @@ void EditBookmarkListForm::OnOrientationChanged(const Tizen::Ui::Control &source
        int itemCount = 0;
        ArrayList* pCheckedItems  = NULL ;
 
+       if(__pNotification)
+               __pNotification->SetShowState(false);
+
        if (__pListview != null)
        {
                AppLog("the list Y axis is %d", __pListview->GetY());