Remove the footer
authorso.yu <so.yu@samsung.com>
Fri, 21 Jun 2013 11:34:53 +0000 (20:34 +0900)
committerso.yu <so.yu@samsung.com>
Fri, 21 Jun 2013 11:35:04 +0000 (20:35 +0900)
Change-Id: Ia8ff9c3a53ef90803de78c5d3324c8fecddc95f2
Signed-off-by: so.yu <so.yu@samsung.com>
src/CertificateSelectorForm.cpp

index 27e889c..05b9438 100644 (file)
@@ -118,7 +118,7 @@ CertificateSelectorForm::Initialize(RequestId reqId)
 {
        result r = E_SUCCESS;
 
-       r = Construct(FORM_STYLE_INDICATOR | FORM_STYLE_TITLE | FORM_STYLE_FOOTER);
+       r = Construct(FORM_STYLE_INDICATOR | FORM_STYLE_TITLE);
        TryReturnResult(!IsFailed(r), E_SYSTEM, E_SYSTEM, "[%s] Failed to construct CertificateSelectorForm.", GetErrorMessage(E_SYSTEM));
 
        __reqId = reqId;
@@ -139,16 +139,6 @@ CertificateSelectorForm::OnInitializing(void)
        r = SetTitleText(TITLE_STRING, ALIGNMENT_LEFT);
        TryReturnResult(!IsFailed(r), r, r, "[%s] Propagating.", GetErrorMessage(r));
 
-       // footer
-       pFooter = GetFooter();
-       TryReturnResult(pFooter != null, E_SYSTEM, E_SYSTEM, "[%s] Footer instance is not available.", GetErrorMessage(E_SYSTEM));
-
-       r = pFooter->SetStyle(FOOTER_STYLE_SEGMENTED_TEXT);
-       TryReturnResult(!IsFailed(r), r, r, "[%s] Propagating.", GetErrorMessage(r));
-
-       r = pFooter->SetBackButton();
-       TryReturnResult(!IsFailed(r) || r == E_UNSUPPORTED_OPERATION, r, r, "[%s] Propagating.", GetErrorMessage(r));
-
        SetFormBackEventListener(this);
 
        // load user certificates