\r
// Default implementation.\r
footer.SetStyle(FOOTER_STYLE_SEGMENTED_TEXT);\r
- footer.SetBackButton();\r
+// footer.SetBackButton();\r
\r
AppLogDebug("EXIT: %s", GetErrorMessage(GetLastResult()));\r
}\r
footer.AddItem(deleteBtn);
- footer.SetBackButton();
+// footer.SetBackButton();
if (__pSelectedIds && __pSelectedIds->GetCount() > 0)
btnLeft.SetIcon(BUTTON_ITEM_STATUS_PRESSED, pBitMap);
pFooter->SetButton(BUTTON_POSITION_LEFT, btnLeft);
}
- pFooter->SetBackButton();
+// pFooter->SetBackButton();
}
AppLogDebug("EXIT: %s", GetErrorMessage(GetLastResult()));
}
// Set event listener
footer.AddActionEventListener(*this);
footer.SetStyle(FOOTER_STYLE_BUTTON_ICON_TEXT);
- footer.SetBackButton();
+// footer.SetBackButton();
AppLogDebug("EXIT: %s", GetErrorMessage(GetLastResult()));
return;
{
case SPAM_SETTING_FORM_MAIN:
{
- footer.SetBackButton();
+// footer.SetBackButton();
}
break;
saveBtn.SetText(strText);
footer.AddItem(saveBtn);
- footer.SetBackButton();
+// footer.SetBackButton();
footer.SetItemEnabled(0, false);
footer.Invalidate(true);
footer.AddItem(leftItem);
footer.AddItem(centerItem);
- footer.SetBackButton();
+// footer.SetBackButton();
}
break;
deleteItem.SetText(strText);
footer.AddItem(deleteItem);
- footer.SetBackButton();
+// footer.SetBackButton();
}
break;
ThreadPresentationModel* pThreadPrModel = ThreadPresentationModel::GetInstance();
if (pThreadPrModel)
{
- pThreadPrModel->RemoveThreadListEventListener(*this);
+// pThreadPrModel->RemoveThreadListEventListener(*this);
pThreadPrModel->CancelDelete();
pThreadPrModel->CancelRestore();
}
AppLogDebug("ENTER");
result r = E_SUCCESS;
+ ThreadPresentationModel* pThreadPrModel = ThreadPresentationModel::GetInstance();
+ if (pThreadPrModel)
+ {
+ pThreadPrModel->RemoveThreadListEventListener(*this);
+ }
SetFormBackEventListener(null);
SetFormMenuEventListener(null);
composeBtn.SetText(strText);
footer.AddItem(composeBtn); // adding compose button to footer as item
- footer.SetBackButton();
- footer.SetMenuButton();
-
-
-
- // Enable disable footer item
-// ThreadPresentationModel* pThreadPrModel = ThreadPresentationModel::GetInstance();
-// if (pThreadPrModel && pThreadPrModel->GetCount() > 0)
-// {
-// footer.SetItemEnabled(1, true);
-// }
-// else
-// {
-// footer.SetItemEnabled(1, false);
-// }
+// footer.SetBackButton();
OnIntializeFooter(footer);