summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNilesh Trimbake <t.shripati@samsung.com>2018-05-24 15:28:13 +0530
committerNilesh Trimbake <t.shripati@samsung.com>2018-05-24 15:28:13 +0530
commitcc86c0bf09f73d727d7cf2bc21298d8c4f1caba1 (patch)
tree99cb3535e0738bd111783d7b91be638bb14fea40
parent8e46fa3ac3e09635ef222096a89073e02963237f (diff)
downloadphone-contacts-cc86c0bf09f73d727d7cf2bc21298d8c4f1caba1.tar.gz
phone-contacts-cc86c0bf09f73d727d7cf2bc21298d8c4f1caba1.tar.bz2
phone-contacts-cc86c0bf09f73d727d7cf2bc21298d8c4f1caba1.zip
Replace elm function and remove nomouse flag.submit/tizen/20180524.114544
This patch replace elm function elm_bg_add with evas_object_rectangle_add, and remove nomouse flag from efl button. This patch resolve JIRA issue TFIVE-2231, TFIVE-1648, and TFIVE-1741. Change-Id: I74de95a2a422d61fa41fb43958c10cb0fe14a249
-rw-r--r--dialer-app/src/TouchView.cpp2
-rw-r--r--lib-apps-common/res/apps-common/edje/apps-common-buttons.edc2
2 files changed, 2 insertions, 2 deletions
diff --git a/dialer-app/src/TouchView.cpp b/dialer-app/src/TouchView.cpp
index 610537f..ccf51b0 100644
--- a/dialer-app/src/TouchView.cpp
+++ b/dialer-app/src/TouchView.cpp
@@ -55,7 +55,7 @@ void TouchView::setLongpressedCallback(LongpressedCallback callback)
Evas_Object *TouchView::onCreate(Evas_Object *parent)
{
- Evas_Object *layout = elm_bg_add(parent);
+ Evas_Object *layout = evas_object_rectangle_add(evas_object_evas_get(parent));
evas_object_color_set(layout, 0, 0, 0, 0);
evas_object_event_callback_add(layout, EVAS_CALLBACK_MOUSE_DOWN,
diff --git a/lib-apps-common/res/apps-common/edje/apps-common-buttons.edc b/lib-apps-common/res/apps-common/edje/apps-common-buttons.edc
index 470c022..468eeba 100644
--- a/lib-apps-common/res/apps-common/edje/apps-common-buttons.edc
+++ b/lib-apps-common/res/apps-common/edje/apps-common-buttons.edc
@@ -114,7 +114,7 @@ collections {
color_class: "button/circle/bg_disabled";
}
}
- swallow { "elm.swallow.content"; nomouse;
+ swallow { "elm.swallow.content";
clip: "clipper.icon";
desc { "default";
rel.to: "image.bg";