Keep Tizen build option naming rule 59/91859/1 accepted/tizen/common/20161013.161042 accepted/tizen/ivi/20161013.035100 accepted/tizen/mobile/20161013.034935 accepted/tizen/tv/20161013.035020 accepted/tizen/wearable/20161013.035034 submit/tizen/20161012.131550 submit/tizen/20161013.015447 submit/tizen_common/20161013.071727
authorShinwoo Kim <cinoo.kim@samsung.com>
Wed, 12 Oct 2016 02:30:58 +0000 (11:30 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 12 Oct 2016 02:30:58 +0000 (11:30 +0900)
Change-Id: Id886b5226c296be21d7f16554047f11d6ee9487b

packaging/elementary.spec
src/lib/elm_entry.c
src/mobile_lib/elm_genlist.c
src/mobile_lib/elm_widget_genlist.h
src/modules/copypasteUI_ctxpopup/copypaste.c

index ae5a36aa4ae7f301c52e297a9bccab82b7652999..d1c01d8f4dea61f9f58f400d1650033f88fe2956 100644 (file)
@@ -102,9 +102,9 @@ cp %{SOURCE1001} .
 %else
     %if "%{profile}" == "wearable"
         cp %{_builddir}/%{buildsubdir}/src/mobile_lib/* %{_builddir}/%{buildsubdir}/src/lib
-        export CFLAGS+=" -DELM_FEATURE_WEARABLE"
+        export CFLAGS+=" -DTIZEN_PROFILE_WEARABLE"
         %if "%{?model_build_feature_formfactor}" == "circle"
-           export CFLAGS+=" -DELM_FEATURE_WEARABLE_C1"
+           export CFLAGS+=" -DTIZEN_PROFILE_WEARABLE_C1"
         %endif
     %endif
 %endif
index af35c9b36fb4bed31ccec3dba0fedcb7dc836da8..e6b319551c837f7745e426606682fdc41e943a27 100644 (file)
@@ -117,7 +117,7 @@ static void _magnifier_create(void *data);
 static void _magnifier_show(void *data);
 static void _magnifier_hide(void *data);
 static void _magnifier_move(void *data, Evas_Coord x, Evas_Coord y);
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
 static void _menu_call(Evas_Object *obj);
 #endif
 static void _hover_cancel_cb(void *data, Evas_Object *obj, void *event_info);
@@ -463,7 +463,7 @@ _cursor_handler_mouse_up_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EI
    sd->cursor_handler_down = EINA_FALSE;
    if (_elm_config->magnifier_enable)
      _magnifier_hide(data);
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if ((!_elm_config->context_menu_disabled) &&
        (!_elm_config->desktop_entry))
      _menu_call(data);
@@ -627,12 +627,12 @@ _select_all(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUS
         edje_object_part_text_select_extend(sd->entry_edje, "elm.text");
      }
    sd->have_selection = EINA_TRUE;
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    _menu_call(data);
 #endif
 }
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
 static void
 _adjust_eol_cursor(Evas_Object *obj)
 {
@@ -703,7 +703,7 @@ _cursor_down_pos_set(Evas_Object *obj)
 static void
 _select_word(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
 {
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
    return;
 #else
    ELM_ENTRY_DATA_GET(data, sd);
@@ -854,7 +854,7 @@ EAPI void elm_entry_extension_module_data_get(Evas_Object *obj, Elm_Entry_Extens
 /////////////////////////////////////////////////////////////////
 
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
 static Mod_Api *
 _module_find(Evas_Object *obj EINA_UNUSED)
 {
@@ -2356,7 +2356,7 @@ _hoversel_position(Evas_Object *obj)
    evas_object_resize(sd->hoversel, cw, ch);
 }
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
 static void
 _hover_del_job(void *data)
 {
@@ -2604,7 +2604,7 @@ _hover_cancel_cb(void *data,
    edje_object_part_text_select_none(sd->entry_edje, "elm.text");
 }
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
 static void
 _hover_item_clicked_cb(void *data,
                        Evas_Object *obj EINA_UNUSED,
@@ -2967,7 +2967,7 @@ _long_press_cb(void *data)
                   _select_word(data, NULL, NULL);
                   elm_widget_scroll_freeze_push(data);
                }
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
              if (!_elm_config->context_menu_disabled &&
                  !_elm_config->desktop_entry)
                {
@@ -2976,7 +2976,7 @@ _long_press_cb(void *data)
 #endif
           }
         //
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
         /* Context menu will not appear if context menu disabled is set
          * as false on a long press callback */
         else if (!_elm_config->context_menu_disabled &&
@@ -3004,7 +3004,7 @@ _key_down_cb(void *data,
                Evas_Object *obj EINA_UNUSED,
                void *event_info EINA_UNUSED)
 {
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    Evas_Event_Key_Down *ev = event_info;
 #endif
 
@@ -3015,7 +3015,7 @@ _key_down_cb(void *data,
    //
    /* First check if context menu disabled is false or not, and
     * then check for key id */
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if ((!_elm_config->context_menu_disabled) && !strcmp(ev->key, "Menu"))
      _menu_call(data);
 #endif
@@ -3050,7 +3050,7 @@ _mouse_down_cb(void *data,
         if (_elm_config->desktop_entry)
           {
              sd->use_down = 1;
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
              _menu_call(data);
 #endif
           }
@@ -3099,7 +3099,7 @@ _mouse_up_cb(void *data,
                _magnifier_hide(data);
         //
              // TIZEN ONLY (20150603): CopyPasteUI 2.4
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
              Eina_Bool popup_showing = EINA_FALSE;
 #endif
              if (elm_widget_scroll_freeze_get(data))
@@ -3111,7 +3111,7 @@ _mouse_up_cb(void *data,
                   else
                     elm_entry_select_none(data);
                }
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
              if ((sd->api) && (sd->api->obj_popup_showing_get))
                popup_showing = sd->api->obj_popup_showing_get(data);
              if ((!_elm_config->context_menu_disabled) &&
@@ -3175,7 +3175,7 @@ _mouse_up_cb(void *data,
             (!_elm_config->desktop_entry))
      {
          sd->use_down = 1;
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
          _menu_call(data);
 #endif
      }
@@ -4797,7 +4797,7 @@ _start_handler_mouse_up_cb(void *data,
    if ((!_elm_config->context_menu_disabled) &&
        (!_elm_config->desktop_entry) && (sd->long_pressed))
      */
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if ((!_elm_config->context_menu_disabled) &&
        (!_elm_config->desktop_entry))
      _menu_call(data);
@@ -5001,7 +5001,7 @@ _end_handler_mouse_up_cb(void *data,
        (!_elm_config->desktop_entry) && (sd->long_pressed))
      _menu_call(data);
     */
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if ((!_elm_config->context_menu_disabled) &&
        (!_elm_config->desktop_entry))
      _menu_call(data);
@@ -5099,7 +5099,7 @@ _elm_entry_evas_object_smart_add(Eo *obj, Elm_Entry_Data *priv)
    priv->context_menu = EINA_TRUE;
    priv->auto_save = EINA_TRUE;
    priv->editable = EINA_TRUE;
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
    priv->sel_allow = EINA_FALSE;
 #else
    priv->sel_allow = EINA_TRUE;
@@ -5238,7 +5238,7 @@ _elm_entry_evas_object_smart_add(Eo *obj, Elm_Entry_Data *priv)
 
    entries = eina_list_prepend(entries, obj);
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    // module - find module for entry
    priv->api = _module_find(obj);
    // if found - hook in
index 3065202f2660f2a4b4db765812d3a4c16a7b34e8..e185b29210025694c9c6a10534945118596829b2 100644 (file)
@@ -200,7 +200,7 @@ typedef struct _Size_Cache {
 
 
 // TIZEN ONLY : for banded ux
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
 static void
 _banded_item_bg_add(Elm_Gen_Item *it, Evas_Object *target)
 {
@@ -779,7 +779,7 @@ _item_content_realize(Elm_Gen_Item *it,
           }
      }
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    _banded_item_bg_add(it, target);
 #endif
 
@@ -1129,7 +1129,7 @@ _item_unrealize(Elm_Gen_Item *it,
    _view_clear(VIEW(it), &(it->content_objs));
 
 // TIZEN ONLY : for banded ux
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if (GL_IT(it)->banded_bg)
      ELM_SAFE_FREE(GL_IT(it)->banded_bg, evas_object_del);
    if (GL_IT(it)->wsd->banded_bg_on)
@@ -1565,7 +1565,7 @@ _item_realize(Elm_Gen_Item *it,
      edje_object_signal_emit(VIEW(it), SIGNAL_DISABLED, "elm");
    if (it->selected)
      {
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
         if (sd->banded_bg_on)
           _banded_item_bg_color_change(it, EINA_TRUE);
 #endif
@@ -1795,7 +1795,7 @@ _reorder_calc(Elm_Gen_Item *it, Elm_Genlist_Data *sd)
                                                                       + REORDER_FASTER, ow, oh));
      }
 
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
      _item_all_position(it, GL_IT(it)->scrl_x - REORDERED_ITEM_OFFSET,
                        GL_IT(it)->scrl_y - REORDERED_ITEM_OFFSET);
 #else
@@ -1940,7 +1940,7 @@ _item_block_realize(Item_Block *itb, Eina_Bool force)
 {
    Elm_Genlist_Data *sd = itb->sd;
    Elm_Gen_Item *it;
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    Elm_Gen_Item *top_drawn_item = NULL;
 #endif
    const Eina_List *l, *ll;
@@ -1997,7 +1997,7 @@ _item_block_realize(Item_Block *itb, Eina_Bool force)
         GL_IT(it)->w = sd->minw;
         GL_IT(it)->h = GL_IT(it)->minh;
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
         //Kiran only
         if (!top_drawn_item)
           {
@@ -2050,7 +2050,7 @@ _item_block_realize(Item_Block *itb, Eina_Bool force)
 
    itb->realized = EINA_TRUE;
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if (sd->banded_bg_on)
      _banded_item_bg_index_color_set(sd->top_drawn_item, ox, oy, ow, oh);
 #endif
@@ -2196,7 +2196,7 @@ _elm_genlist_pan_evas_object_smart_calculate(Eo *obj, Elm_Genlist_Pan_Data *psd)
    psd->wsd->blocks_realized = realized_new;
 
 // TIZEN_ONLY(20150701) : banded color background feature. enabled only un-scrollable
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if (psd->wsd->banded_bg_rect && !psd->wsd->reorder.it)
      {
         Evas_Coord bg_x, bg_y, bg_w, bg_h, svy, svh;
@@ -2590,7 +2590,7 @@ static void _item_focused(Elm_Gen_Item *it, Elm_Genlist_Item_Scrollto_Type type)
      elm_interface_atspi_accessible_active_descendant_changed_signal_emit(WIDGET(it), EO_OBJ(it));
 }
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
 static Eina_Bool
 _banded_item_highlight_anim(void *data, double pos)
 {
@@ -2639,7 +2639,7 @@ _item_highlight(Elm_Gen_Item *it)
    it->highlighted = EINA_TRUE;
    sd->highlighted_item = it;
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if (sd->banded_bg_on)
      {
         if (it->item->banded_anim) ecore_animator_del(it->item->banded_anim);
@@ -2690,7 +2690,7 @@ _item_unhighlight(Elm_Gen_Item *it, Eina_Bool effect)
    it->highlighted = EINA_FALSE;
    GL_IT(it)->wsd->highlighted_item = NULL;
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if (GL_IT(it)->wsd->banded_bg_on && effect)
      {
         if (it->item->banded_anim) ecore_animator_del(it->item->banded_anim);
@@ -3668,7 +3668,7 @@ _elm_genlist_elm_widget_theme_apply(Eo *obj, Elm_Genlist_Data *sd)
    eo_do_super(obj, MY_CLASS, int_ret = elm_obj_widget_theme_apply());
    if (!int_ret) return ELM_THEME_APPLY_FAILED;
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    _banded_bg_state_check(obj, sd);
 #endif
 
@@ -4049,7 +4049,7 @@ _long_press_cb(void *data)
         eo_do(sd->obj, elm_interface_scrollable_bounce_allow_set
                     (EINA_FALSE, EINA_FALSE));
 
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
         if (sd->decorate_all_mode)
 #endif
           edje_object_signal_emit(VIEW(it), SIGNAL_REORDER_ENABLED, "elm");
@@ -4779,7 +4779,7 @@ _item_mouse_up_cb(void *data,
      }
    else if (sd->reorder.it == it)
      {
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
         Elm_Gen_Item *it2, *it_max = NULL, *it_min = NULL;
         Evas_Coord r_y_scrl, it_y_max = -99999999, it_y_min = 99999999;
 
@@ -5377,7 +5377,7 @@ _elm_genlist_evas_object_smart_del(Eo *obj, Elm_Genlist_Data *sd)
 EOLIAN static void
 _elm_genlist_evas_object_smart_move(Eo *obj, Elm_Genlist_Data *sd, Evas_Coord x, Evas_Coord y)
 {
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    Evas_Coord ox, oy, bg_x, bg_y;
    evas_object_geometry_get(obj, &ox, &oy, NULL, NULL);
    evas_object_geometry_get(sd->banded_bg_rect, &bg_x, &bg_y, NULL, NULL);
@@ -5385,7 +5385,7 @@ _elm_genlist_evas_object_smart_move(Eo *obj, Elm_Genlist_Data *sd, Evas_Coord x,
    eo_do_super(obj, MY_CLASS, evas_obj_smart_move(x, y));
    evas_object_move(sd->hit_rect, x, y);
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    evas_object_move(sd->banded_bg_rect, (bg_x + x - ox), (bg_y + y - oy));
 #endif
 }
@@ -5464,7 +5464,7 @@ _elm_genlist_evas_object_smart_add(Eo *obj, Elm_Genlist_Data *priv)
 
    elm_layout_theme_set(obj, "genlist", "base", elm_widget_style_get(obj));
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    _banded_bg_state_check(obj, priv);
 #endif
 
@@ -5501,7 +5501,7 @@ _elm_genlist_evas_object_smart_add(Eo *obj, Elm_Genlist_Data *priv)
    priv->highlight = EINA_TRUE;
    priv->fx_mode = EINA_FALSE;
    priv->on_hold = EINA_FALSE;
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    //Kiran only
    priv->top_drawn_item = NULL;
 #endif
@@ -5810,7 +5810,7 @@ _item_free(Elm_Gen_Item *it)
    if (it == sd->focused_item) _item_unfocused(it);
    if (it == sd->key_down_item) sd->key_down_item = NULL;
    if (it == sd->highlighted_item) sd->highlighted_item = NULL;
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if (it == sd->top_drawn_item) sd->top_drawn_item = NULL;
 #endif
 
@@ -5828,7 +5828,7 @@ _item_free(Elm_Gen_Item *it)
    eo_del(EO_OBJ(it));
 
 // TIZEN_ONLY(20150703) : banded color background feature. enabled only un-scrollable
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if (sd->banded_bg_rect && !sd->items)
      {
         evas_object_smart_member_del(sd->banded_bg_rect);
@@ -6469,7 +6469,7 @@ elm_genlist_clear(Evas_Object *obj)
    if (sd->g_item) sd->g_item = NULL;
    if (sd->g_type) sd->g_type = NULL;
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    if (sd->banded_bg_rect)
      {
         evas_object_smart_member_del(sd->banded_bg_rect);
index 332dc66721443a0c1c484ad4bb47571db14cc21a..f3035c477f7c3445edc6ee08fe163111bfc5f259 100644 (file)
@@ -193,7 +193,7 @@ struct _Elm_Genlist_Data
      } add_fx;
 
 // TIZEN ONLY(20150701) : Banded Color UX Feature
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    /*for banded ux*/
    Elm_Gen_Item                          *top_drawn_item;
    Evas_Object                           *banded_bg_rect; /* banded color
@@ -245,7 +245,7 @@ struct Elm_Gen_Item_Type
    Evas_Object            *deco_it_view;
    int                     expanded_depth;
    int                     order_num_in;
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
    int                     banded_color_index;
    Evas_Object            *banded_bg;
    Ecore_Animator         *banded_anim;
index 962a0ebc453ad732a664d94be1f2c15e66887336..0166e165471119fe5ffb39977400dbcae0f6f086 100644 (file)
@@ -855,7 +855,7 @@ _select_all(void *data, Evas_Object *obj, void *event_info)
    ext_mod->selectall(data, obj, event_info);
 }
 
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
 static void
 _select(void *data, Evas_Object *obj, void *event_info)
 {
@@ -1350,7 +1350,7 @@ obj_longpress(Evas_Object *obj)
                {
                  if (!ext_mod->password)
                   {
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
                    CP_ICON_ADD(icon, "select");
                    added_item = elm_ctxpopup_item_append(ext_mod->popup, S_SELECT, icon, _select, obj);
                    ACCESS_FOCUS_ENABLE();
@@ -1358,7 +1358,7 @@ obj_longpress(Evas_Object *obj)
                    }
 
                    CP_ICON_ADD(icon, "select_all");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                    added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                           icon, _select_all, obj);
 #else
@@ -1385,7 +1385,7 @@ obj_longpress(Evas_Object *obj)
 #endif
                          {
                             CP_ICON_ADD(icon, "paste");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                             added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                                   icon, _paste, obj);
 #else
@@ -1400,7 +1400,7 @@ obj_longpress(Evas_Object *obj)
                        if (ext_mod->editable)
                          {
                             CP_ICON_ADD(icon, "paste");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                             added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                                   icon, _paste, obj);
 #else
@@ -1420,7 +1420,7 @@ obj_longpress(Evas_Object *obj)
 #endif
                {
                   CP_ICON_ADD(icon, "clipboard");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                   added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                         icon, _clipboard_menu, obj);  // Clipboard
 #else
@@ -1451,7 +1451,7 @@ obj_longpress(Evas_Object *obj)
                    if (selected_all == EINA_FALSE)
                      {
                         CP_ICON_ADD(icon, "select_all");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                         added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                               icon, _select_all, obj);
 #else
@@ -1464,7 +1464,7 @@ obj_longpress(Evas_Object *obj)
                    if (!ext_mod->password)
                      {
                         CP_ICON_ADD(icon, "copy");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                         added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                          icon, _copy, obj);
 #else
@@ -1475,7 +1475,7 @@ obj_longpress(Evas_Object *obj)
                         if (ext_mod->editable)
                           {
                              CP_ICON_ADD(icon, "cut");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                              added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                               icon, _cut, obj);
 #else
@@ -1502,7 +1502,7 @@ obj_longpress(Evas_Object *obj)
 #endif
                                {
                                   CP_ICON_ADD(icon, "paste");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                                   added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                                         icon, _paste, obj);
 #else
@@ -1515,7 +1515,7 @@ obj_longpress(Evas_Object *obj)
                         else
                           {
                              CP_ICON_ADD(icon, "paste");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                              added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                                    icon, _paste, obj);
 #else
@@ -1533,7 +1533,7 @@ obj_longpress(Evas_Object *obj)
                      {
                        if (!ext_mod->password)
                          {
-#ifndef ELM_FEATURE_WEARABLE
+#ifndef TIZEN_PROFILE_WEARABLE
                             CP_ICON_ADD(icon, "select");
                             added_item = elm_ctxpopup_item_append(ext_mod->popup, S_SELECT,
                                                               icon, _select, obj);
@@ -1542,7 +1542,7 @@ obj_longpress(Evas_Object *obj)
                           }
 
                         CP_ICON_ADD(icon, "select_all");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                         added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                               icon, _select_all, obj);
 #else
@@ -1569,7 +1569,7 @@ obj_longpress(Evas_Object *obj)
 #endif
                                     {
                                        CP_ICON_ADD(icon, "paste");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                                        added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                                              icon, _paste, obj);
 #else
@@ -1582,7 +1582,7 @@ obj_longpress(Evas_Object *obj)
                                else
                                 {
                                     CP_ICON_ADD(icon, "paste");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                                     added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                                           icon, _paste, obj);
 #else
@@ -1603,7 +1603,7 @@ obj_longpress(Evas_Object *obj)
 #endif
                     {
                        CP_ICON_ADD(icon, "clipboard");
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                        added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                              icon, _clipboard_menu, obj);
 #else
@@ -1639,7 +1639,7 @@ obj_longpress(Evas_Object *obj)
                        else if (it->icon_type == ELM_ICON_STANDARD)
                          elm_icon_standard_set(ic, it->icon_file);
                     }
-#ifdef ELM_FEATURE_WEARABLE
+#ifdef TIZEN_PROFILE_WEARABLE
                   added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL,
                                                         ic, _item_clicked, it );
 #else