item1 = item2;
while(item1) {
#ifdef _TIZEN_2_3_UX
- elm_genlist_item_fields_update(item1 , "elm.text.sub.right.bottom",
+ elm_genlist_item_fields_update(item1 , "elm.text.sub.end",
ELM_GENLIST_ITEM_FIELD_TEXT);
#else
elm_genlist_item_fields_update(item1 , "elm.text.3",
if (isGenlistEditMode()) {
#ifdef _TIZEN_2_3_UX
if (eoSelectAllLayout)
- elm_object_part_text_set(eoSelectAllLayout, "elm.text.main",
+ elm_object_part_text_set(eoSelectAllLayout, "elm.text",
DM_BODY_TEXT_SELECT_ALL);
showSelectedNotify(m_selectedItemsCount);
#else
if (viewItem->isFinished()) {
viewItem->setCheckedValue(m_allChecked);
#ifdef _TIZEN_2_3_UX
- elm_genlist_item_fields_update(it, "elm.icon.2",
+ elm_genlist_item_fields_update(it, "elm.swallow.icon.2",
ELM_GENLIST_ITEM_FIELD_CONTENT);
#else
elm_genlist_item_fields_update(it, "elm.edit.icon.1",
#ifdef _TIZEN_2_3_UX
Evas_Object *doneButton = elm_object_part_content_get(eoNaviBar, "title_right_btn");
elm_object_disabled_set(doneButton, EINA_FALSE);
- Evas_Object *checkBox = elm_object_part_content_get(eoSelectAllLayout, "elm.icon");
+ Evas_Object *checkBox = elm_object_part_content_get(eoSelectAllLayout, "elm.swallow.icon");
if (checkBox)
elm_check_state_set(checkBox, m_allChecked);
#else
#ifdef _TIZEN_2_3_UX
Evas_Object *doneButton = elm_object_part_content_get(eoNaviBar, "title_right_btn");
elm_object_disabled_set(doneButton, EINA_TRUE);
- Evas_Object *checkBox = elm_object_part_content_get(eoSelectAllLayout, "elm.icon");
+ Evas_Object *checkBox = elm_object_part_content_get(eoSelectAllLayout, "elm.swallow.icon");
if (checkBox)
elm_check_state_set(checkBox, m_allChecked);
#else
#ifdef _TIZEN_2_3_UX
if (eoSelectAllLayout) {
- Evas_Object *checkBox = elm_object_part_content_get(eoSelectAllLayout, "elm.icon");
+ Evas_Object *checkBox = elm_object_part_content_get(eoSelectAllLayout, "elm.swallow.icon");
if (checkBox)
elm_check_state_set(checkBox, m_allChecked);
}
return;
} else if (state == ITEM::DOWNLOADING) {
#ifdef _TIZEN_2_3_UX
- Evas_Object *progress = elm_object_item_part_content_get(m_glItem, "elm.swallow.icon");
+ Evas_Object *progress = elm_object_item_part_content_get(m_glItem, "elm.swallow.end");
#else
Evas_Object *progress = elm_object_item_part_content_get(m_glItem, "elm.swallow.progress");
#endif
elm_progressbar_value_set(progress, percentageProgress);
}
#ifdef _TIZEN_2_3_UX
- elm_genlist_item_fields_update(m_glItem,"elm.swallow.progress",
+ elm_genlist_item_fields_update(m_glItem,"elm.swallow.end",
ELM_GENLIST_ITEM_FIELD_TEXT);
#else
elm_genlist_item_fields_update(m_glItem,"elm.text.2",
{
DM_LOGD("part[%s]", part);
#ifdef _TIZEN_2_3_UX
- if (strcmp(part, "elm.text") == 0) {
- return strdup(getTitle());
- } else if (strcmp(part, "elm.text.sub") == 0) {
+ if (strcmp(part, "elm.text.sub") == 0) {
return (char *)getMessage();
} else if (strcmp(part, "elm.text.sub.end") == 0) {
if (isFinished()) {
inst.getDateStr(getFinishedTime(), outBuf);
return strdup(outBuf.c_str());
}
- } else if (strcmp(part, "elm.text.main") == 0) {
+ } else if (strcmp(part, "elm.text") == 0) {
if (m_isGroupTitle)
return (char *)getGroupTitle();
else
return strdup(getTitle());
- } else if (strcmp(part, "elm.swallow.progress") == 0) {
+ } else if (strcmp(part, "elm.swallow.end") == 0) {
return (char *)getMessage();
}
#else
#ifdef _TIZEN_2_3_UX
DownloadView &view = DownloadView::getInstance();
- if (strcmp(part,"elm.swallow.icon") == 0) {
+ if (strcmp(part,"elm.swallow.icon.1") == 0) {
Evas_Object *layout = elm_layout_add(obj);
elm_layout_theme_set(layout, "layout", "list/B/type.3", "default");
Evas_Object *icon = elm_icon_add(obj);
elm_image_file_set(icon, getIconPath(), NULL);
evas_object_size_hint_align_set(icon, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(icon, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
- elm_layout_content_set(layout, "elm.swallow.content", icon);
+ elm_layout_content_set(layout, "elm.swallow.icon.1", icon);
return layout;
} else if (getState() < ITEM::FINISH_DOWNLOAD) {
if (strcmp(part, "elm.swallow.icon") == 0)
return createProgressBar(obj);
- else if (strcmp(part,"elm.swallow.end") == 0)
+ else if (strcmp(part,"elm.swallow.icon.2") == 0)
return createCancelBtn(obj);
- } else if (view.isGenlistEditMode() && strcmp(part,"elm.swallow.end") == 0) {
+ } else if (view.isGenlistEditMode() && strcmp(part,"elm.swallow.icon.2") == 0) {
Evas_Object *layout = elm_layout_add(obj);
elm_layout_theme_set(layout, "layout", "list/C/type.2", "default");
Evas_Object *check = elm_check_add(obj);
Eina_Bool state;
#ifdef _TIZEN_2_3_UX
Evas_Object *checkLayout;
- checkLayout = elm_object_item_part_content_get(m_glItem, "elm.swallow.end");
+ checkLayout = elm_object_item_part_content_get(m_glItem, "elm.swallow.icon.2");
if (checkLayout)
- checkBox = elm_object_part_content_get(checkLayout, "elm.swallow.content");
+ checkBox = elm_object_part_content_get(checkLayout, "elm.swallow.end");
#else
checkBox = elm_object_item_part_content_get(m_glItem, "elm.edit.icon.1");
#endif
evas_object_size_hint_align_set(icon, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(icon, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_object_part_content_set(button, "elm.swallow.icon", icon);
- elm_object_part_content_set(layout, "elm.swallow.content", button);
+ elm_object_part_content_set(layout, "elm.swallow.end", button);
evas_object_propagate_events_set(button, EINA_FALSE);
evas_object_smart_callback_add(button,"clicked", cancelBtnClickedCB, this);
return layout;