more_option: fix rotary genlist item set and get tc 22/224422/1
authorTaehyub Kim <taehyub.kim@samsung.com>
Mon, 10 Feb 2020 11:07:29 +0000 (20:07 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Mon, 10 Feb 2020 11:08:25 +0000 (20:08 +0900)
Change-Id: I53496d4f01c7d983e07469ed27207c1a7d6f58ed

src/wearable/efl_extension_more_option.c

index 2647138ba08fcc915f3d9adbaee6c3fe76ab839c..c1875279ded0f39d501b363e03e2827b55a2c09e 100644 (file)
@@ -771,8 +771,8 @@ _eext_more_option_genlist_item_part_content_set(Eext_Object_Item *item, const ch
         LOGE("rgd is NULL!!");
         return;
      }
-   /* FIXME: TBD for other parts */
-   if (!strcmp(part_name, "item,icon"))
+   /* FIXME: TBD for other parts, selector,content part is dummy part for rotary genlist */
+   if (!strcmp(part_name, "item,icon") || !strcmp(part_name, "selector,content"))
      {
         rotary_selector_item->content = content;
         if (rotary_selector_item->main_text && rotary_selector_item->sub_text)
@@ -815,8 +815,8 @@ _eext_more_option_genlist_item_part_content_get(const Eext_Object_Item *item, co
         LOGE("Not implemented!!");
         return NULL;
      }
-   /* FIXME: TBD for other parts */
-   if (!strcmp(part_name, "item,icon"))
+   /* FIXME: TBD for other parts, selector,content part is dummy part for rotary genlist */
+   if (!strcmp(part_name, "item,icon") || !strcmp(part_name, "selector,content"))
      {
         return rotary_selector_item->content;
      }