apply footeritem badge icon
authorMyung Jin Kim <critical.kim@samsung.com>
Mon, 15 Apr 2013 02:29:07 +0000 (11:29 +0900)
committerMyung Jin Kim <critical.kim@samsung.com>
Mon, 15 Apr 2013 02:29:07 +0000 (11:29 +0900)
Change-Id: I802d601c168882b7207257b61dc94d19870131a5

src/ui/controls/FUiCtrl_FooterImpl.cpp

index 49aa2ed..d64ac51 100644 (file)
@@ -624,9 +624,6 @@ _FooterImpl::SetItemEnabled(int itemIndex, bool enable)
 result
 _FooterImpl::SetItemBadgeIcon(int itemIndex, const Bitmap* pBadgeIcon)
 {
-       SysTryReturnResult(NID_UI_CTRL, (__style != FOOTER_STYLE_BUTTON_ICON && __style != FOOTER_STYLE_BUTTON_ICON_TEXT), E_UNSUPPORTED_OPERATION,
-                          "[E_UNSUPPORTED_OPERATION] Unable to set the badge icon because the current style does not support it.");
-
        int count = GetItemCount();
 
        SysTryReturnResult(NID_UI_CTRL, (itemIndex >= 0 && itemIndex < count), E_OUT_OF_RANGE,
@@ -697,9 +694,6 @@ _FooterImpl::SetItemSelected(int itemIndex)
 result
 _FooterImpl::SetItemNumberedBadgeIcon(int itemIndex, int number)
 {
-       SysTryReturnResult(NID_UI_CTRL, (__style != FOOTER_STYLE_BUTTON_ICON && __style != FOOTER_STYLE_BUTTON_ICON_TEXT), E_UNSUPPORTED_OPERATION,
-                          "[E_UNSUPPORTED_OPERATION] Unable to set the badge icon because the current style does not support it.");
-
        int count = GetItemCount();
 
        SysTryReturnResult(NID_UI_CTRL, (itemIndex >= 0 && itemIndex < count), E_OUT_OF_RANGE,