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 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: T6971

Differential Revision: https://phab.enlightenment.org/D6240
This commit is contained in:
YeongJong Lee 2018-06-01 11:36:01 +09:00 committed by Jaehyun Cho
parent 5b043be1db
commit 4ea4f0486e
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)