aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYeongJong Lee <yj34.lee@samsung.com>2018-06-01 11:36:01 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2018-06-01 11:36:01 +0900
commit4ea4f0486e6a1044887c6915d2207fa8e2270f45 (patch)
treeac457f1946e476828bf915e2eec54baff1907fc9
parentgl_common: fix invalid memory access (diff)
downloadefl-4ea4f0486e6a1044887c6915d2207fa8e2270f45.tar.gz
elm_hoversel: inherit elm_button
Summary: elm_hoversel is legacy widget. it should inherit legacy Elm_Button instead of Efl.Ui.Button. this patch also fixes icon signal emit bug. fixes https://phab.enlightenment.org/T6971 Test Plan: 1. elementary_test -to hoversel 2. check that ther is icon (sky) on "Icon + Lebel" hoversel Reviewers: Jaehyun_Cho Reviewed By: Jaehyun_Cho Subscribers: cedric, #committers, JackDanielZ, zmike Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T6971 Differential Revision: https://phab.enlightenment.org/D6240
-rw-r--r--src/lib/elementary/elc_hoversel.c1
-rw-r--r--src/lib/elementary/elm_hoversel.eo2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elementary/elc_hoversel.c b/src/lib/elementary/elc_hoversel.c
index a8e3c8cc25..7c8efd4eb3 100644
--- a/src/lib/elementary/elc_hoversel.c
+++ b/src/lib/elementary/elc_hoversel.c
@@ -13,6 +13,7 @@
#include "elm_hoversel.eo.h"
#include "elm_hoversel_item.eo.h"
#include "elm_widget_hoversel.h"
+#include "efl_ui_button_legacy.eo.h"
#define MY_CLASS ELM_HOVERSEL_CLASS
diff --git a/src/lib/elementary/elm_hoversel.eo b/src/lib/elementary/elm_hoversel.eo
index 130ef72974..863482f9c9 100644
--- a/src/lib/elementary/elm_hoversel.eo
+++ b/src/lib/elementary/elm_hoversel.eo
@@ -1,6 +1,6 @@
import elm_general;
-class Elm.Hoversel (Efl.Ui.Button, Efl.Ui.Selectable,
+class Elm.Hoversel (Efl.Ui.Button_Legacy, Efl.Ui.Selectable,
Efl.Ui.Clickable,
Efl.Access.Widget.Action,
Efl.Ui.Legacy)