forked from enlightenment/enlightenment
completely revert all eo/eolian usage
this was a neat experiment, but apparently it's not going to be usable for a long time in anything outside efl/elm This reverts commitsf87b9900fa
,a49cede790
,81038f8d02
,47cfb31752
.
This commit is contained in:
parent
b16f04279a
commit
d8aa488096
16
Makefile.am
16
Makefile.am
|
@ -9,7 +9,6 @@ SUBDIRS += po
|
|||
|
||||
endif
|
||||
|
||||
SUFFIXES =
|
||||
CLEANFILES =
|
||||
DISTCLEANFILES =
|
||||
INSTALL_DATA_HOOKS =
|
||||
|
@ -91,18 +90,3 @@ clean-local: doc-clean
|
|||
rm -f data/themes/*.edj
|
||||
|
||||
install-data-hook: $(INSTALL_DATA_HOOKS)
|
||||
|
||||
AM_V_EOL = $(am__v_EOL_@AM_V@)
|
||||
am__v_EOL_ = $(am__v_EOL_@AM_DEFAULT_V@)
|
||||
am__v_EOL_0 = @echo " EOLIAN " $@;
|
||||
|
||||
SUFFIXES += .eo .eo.c .eo.h .eo.legacy.h
|
||||
|
||||
%.eo.c: %.eo @eolian_gen@
|
||||
$(AM_V_EOL)@eolian_gen@ --eo --legacy $(EOLIAN_FLAGS) --gc -o $@ $<
|
||||
|
||||
%.eo.h: %.eo @eolian_gen@
|
||||
$(AM_V_EOL)@eolian_gen@ --eo $(EOLIAN_FLAGS) --gh -o $@ $<
|
||||
|
||||
%.eo.legacy.h: %.eo @eolian_gen@
|
||||
$(AM_V_EOL)@eolian_gen@ --legacy $(EOLIAN_FLAGS) --gh -o $@ $<
|
||||
|
|
|
@ -6,7 +6,7 @@ configfilesdir = $(datadir)/enlightenment/data/config
|
|||
|
||||
configfiles_DATA = config/profile.cfg
|
||||
|
||||
SUFFIXES += .cfg
|
||||
SUFFIXES = .cfg
|
||||
|
||||
.src.cfg:
|
||||
$(MKDIR_P) $(@D)
|
||||
|
|
|
@ -601,12 +601,6 @@ AC_SUBST([e_cflags])
|
|||
AC_SUBST([e_configflags])
|
||||
AC_SUBST([requirements_e])
|
||||
|
||||
EFL_WITH_BIN([eolian], [eolian-gen], [eolian_gen])
|
||||
# Force the helper to try external eolian-gen
|
||||
AM_CONDITIONAL(HAVE_EOLIAN_GEN, [true])
|
||||
EOLIAN_FLAGS=`pkg-config --variable=eolian_flags eo evas edje`
|
||||
AC_SUBST(EOLIAN_FLAGS)
|
||||
|
||||
PKG_CHECK_EXISTS([xkeyboard-config],[
|
||||
xkb_base=`$PKG_CONFIG --variable=xkb_base xkeyboard-config 2>/dev/null`
|
||||
AC_DEFINE_UNQUOTED([XKB_BASE],["$xkb_base"],[Define to the base directory for X keyboard configuration data])
|
||||
|
|
|
@ -1,16 +1,4 @@
|
|||
E_EOLIANFILES = \
|
||||
src/bin/e_comp_object.eo.c \
|
||||
src/bin/e_comp_object.eo.h
|
||||
|
||||
MAINTAINERCLEANFILES += \
|
||||
$(E_EOLIANFILES)
|
||||
|
||||
DISTCLEANFILES += \
|
||||
src/bin/e_fm_shared_types.h
|
||||
|
||||
EXTRA_DIST += \
|
||||
$(E_EOLIANFILES) \
|
||||
src/bin/e_comp_object.eo
|
||||
DISTCLEANFILES += src/bin/e_fm_shared_types.h
|
||||
|
||||
E_CPPFLAGS = \
|
||||
-I$(top_builddir) \
|
||||
|
@ -70,7 +58,6 @@ src/bin/e_comp.h \
|
|||
src/bin/e_comp_canvas.h \
|
||||
src/bin/e_comp_cfdata.h \
|
||||
src/bin/e_comp_object.h \
|
||||
src/bin/e_comp_object.eo.h \
|
||||
src/bin/e_comp_x.h \
|
||||
src/bin/e_config_data.h \
|
||||
src/bin/e_config_dialog.h \
|
||||
|
@ -394,8 +381,6 @@ src/bin/e_uuid_store.c \
|
|||
src/bin/e_comp_wl.c
|
||||
endif
|
||||
|
||||
src/bin/e_comp_object.c: $(E_EOLIANFILES)
|
||||
|
||||
src_bin_enlightenment_CPPFLAGS = $(E_CPPFLAGS) -DEFL_BETA_API_SUPPORT -DEFL_EO_API_SUPPORT -DE_LOGGING=1 @WAYLAND_CFLAGS@ @WAYLAND_EGL_CFLAGS@ @ECORE_X_CFLAGS@ -DNEED_X=1
|
||||
src_bin_enlightenment_SOURCES = \
|
||||
src/bin/e_main.c \
|
||||
|
|
|
@ -3233,7 +3233,7 @@ e_client_focused_set(E_Client *ec)
|
|||
|
||||
E_FREE_FUNC(ec_unfocus->raise_timer, ecore_timer_del);
|
||||
|
||||
edje_object_signal_emit(ec_unfocus->frame, "e,state,unfocused", "e");
|
||||
e_comp_object_signal_emit(ec_unfocus->frame, "e,state,unfocused", "e");
|
||||
|
||||
/* if there unfocus client is fullscreen and visible */
|
||||
if ((!e_config->allow_above_fullscreen) &&
|
||||
|
@ -3782,12 +3782,12 @@ e_client_urgent_set(E_Client *ec, Eina_Bool urgent)
|
|||
_e_client_event_property(ec, E_CLIENT_PROPERTY_URGENCY);
|
||||
if (urgent && (!ec->focused) && (!ec->want_focus))
|
||||
{
|
||||
edje_object_signal_emit(ec->frame, "e,state,urgent", "e");
|
||||
e_comp_object_signal_emit(ec->frame, "e,state,urgent", "e");
|
||||
ec->urgent = urgent;
|
||||
}
|
||||
else
|
||||
{
|
||||
edje_object_signal_emit(ec->frame, "e,state,not_urgent", "e");
|
||||
e_comp_object_signal_emit(ec->frame, "e,state,not_urgent", "e");
|
||||
ec->urgent = 0;
|
||||
}
|
||||
if (urgent && e_screensaver_on_get() && e_config->screensaver_wake_on_urgent)
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,164 +0,0 @@
|
|||
class E_Comp_Object (Edje)
|
||||
{
|
||||
legacy_prefix: e_comp_object;
|
||||
eo_prefix: e_comp_obj;
|
||||
data: E_Comp_Object;
|
||||
constructors {
|
||||
constructor {
|
||||
params {
|
||||
@in E_Client *ec;
|
||||
}
|
||||
}
|
||||
}
|
||||
properties {
|
||||
effect {
|
||||
set {}
|
||||
values {
|
||||
const char *effect;
|
||||
}
|
||||
}
|
||||
frame_geometry {
|
||||
get {}
|
||||
values {
|
||||
int l;
|
||||
int r;
|
||||
int t;
|
||||
int b;
|
||||
}
|
||||
}
|
||||
frame_icon_geometry {
|
||||
get {}
|
||||
values {
|
||||
int x;
|
||||
int y;
|
||||
int w;
|
||||
int h;
|
||||
}
|
||||
}
|
||||
input_area {
|
||||
set {}
|
||||
values {
|
||||
int x;
|
||||
int y;
|
||||
int w;
|
||||
int h;
|
||||
}
|
||||
}
|
||||
native_surface {
|
||||
set {}
|
||||
values {
|
||||
Eina_Bool set;
|
||||
}
|
||||
}
|
||||
redirected {
|
||||
set {}
|
||||
values {
|
||||
Eina_Bool set;
|
||||
}
|
||||
}
|
||||
}
|
||||
methods {
|
||||
damage {
|
||||
params {
|
||||
@in int x;
|
||||
@in int y;
|
||||
@in int w;
|
||||
@in int h;
|
||||
}
|
||||
}
|
||||
damage_exists {
|
||||
return Eina_Bool;
|
||||
}
|
||||
dirty {}
|
||||
effect_clip {}
|
||||
effect_unclip {}
|
||||
effect_params_set {
|
||||
params {
|
||||
@in int id;
|
||||
@in int *params;
|
||||
@in unsigned int count;
|
||||
}
|
||||
}
|
||||
effect_start {
|
||||
params {
|
||||
@in Edje_Signal_Cb end_cb;
|
||||
@in const void *end_data;
|
||||
}
|
||||
}
|
||||
effect_stop {
|
||||
params {
|
||||
@in Edje_Signal_Cb end_cb;
|
||||
}
|
||||
}
|
||||
frame_xy_adjust {
|
||||
params {
|
||||
@in int x;
|
||||
@in int y;
|
||||
@out int ax;
|
||||
@out int ay;
|
||||
}
|
||||
}
|
||||
frame_xy_unadjust {
|
||||
params {
|
||||
@in int x;
|
||||
@in int y;
|
||||
@out int ax;
|
||||
@out int ay;
|
||||
}
|
||||
}
|
||||
frame_wh_adjust {
|
||||
params {
|
||||
@in int w;
|
||||
@in int h;
|
||||
@out int aw;
|
||||
@out int ah;
|
||||
}
|
||||
}
|
||||
frame_wh_unadjust {
|
||||
params {
|
||||
@in int w;
|
||||
@in int h;
|
||||
@out int aw;
|
||||
@out int ah;
|
||||
}
|
||||
}
|
||||
frame_exists {
|
||||
return Eina_Bool;
|
||||
}
|
||||
frame_icon_update {};
|
||||
frame_theme_set {
|
||||
return Eina_Bool;
|
||||
params {
|
||||
@in const char *name;
|
||||
}
|
||||
}
|
||||
frame_title_set {
|
||||
return Eina_Bool;
|
||||
params {
|
||||
@in const char *name;
|
||||
}
|
||||
}
|
||||
render {
|
||||
return Eina_Bool;
|
||||
}
|
||||
render_update_add {}
|
||||
render_update_del {}
|
||||
shape_apply {}
|
||||
}
|
||||
implements {
|
||||
class::constructor;
|
||||
Eo_Base::constructor;
|
||||
Evas_Object_Smart::hide;
|
||||
Evas_Object_Smart::show;
|
||||
Evas_Object_Smart::move;
|
||||
Evas_Object_Smart::add;
|
||||
Evas_Object_Smart::del;
|
||||
Evas_Object_Smart::resize;
|
||||
Evas_Object_Smart::clip::set;
|
||||
Evas_Object_Smart::clip_unset;
|
||||
Evas_Object_Smart::color::set;
|
||||
Edje::signal_callback_add;
|
||||
Edje::signal_callback_del;
|
||||
Edje::signal_emit;
|
||||
}
|
||||
}
|
|
@ -39,10 +39,10 @@ EAPI void e_comp_object_zoomap_set(Evas_Object *obj, Eina_Bool enabled);
|
|||
EAPI Evas_Object *e_comp_object_client_add(E_Client *ec);
|
||||
EAPI Evas_Object *e_comp_object_util_mirror_add(Evas_Object *obj);
|
||||
EAPI Evas_Object *e_comp_object_util_add(Evas_Object *obj, E_Comp_Object_Type type);
|
||||
EAPI void e_comp_object_frame_xy_adjust(Eo *obj, int x, int y, int *ax, int *ay);
|
||||
EAPI void e_comp_object_frame_xy_unadjust(Eo *obj, int x, int y, int *ax, int *ay);
|
||||
EAPI void e_comp_object_frame_wh_adjust(Eo *obj, int w, int h, int *aw, int *ah);
|
||||
EAPI void e_comp_object_frame_wh_unadjust(Eo *obj, int w, int h, int *aw, int *ah);
|
||||
EAPI void e_comp_object_frame_xy_adjust(Evas_Object *obj, int x, int y, int *ax, int *ay);
|
||||
EAPI void e_comp_object_frame_xy_unadjust(Evas_Object *obj, int x, int y, int *ax, int *ay);
|
||||
EAPI void e_comp_object_frame_wh_adjust(Evas_Object *obj, int w, int h, int *aw, int *ah);
|
||||
EAPI void e_comp_object_frame_wh_unadjust(Evas_Object *obj, int w, int h, int *aw, int *ah);
|
||||
EAPI E_Client *e_comp_object_client_get(Evas_Object *obj);
|
||||
EAPI E_Zone *e_comp_object_util_zone_get(Evas_Object *obj);
|
||||
EAPI void e_comp_object_util_del_list_append(Evas_Object *obj, Evas_Object *to_del);
|
||||
|
@ -52,28 +52,32 @@ EAPI void e_comp_object_util_center(Evas_Object *obj);
|
|||
EAPI void e_comp_object_util_center_on(Evas_Object *obj, Evas_Object *on);
|
||||
EAPI void e_comp_object_util_center_pos_get(Evas_Object *obj, int *x, int *y);
|
||||
EAPI void e_comp_object_util_fullscreen(Evas_Object *obj);
|
||||
EAPI void e_comp_object_frame_geometry_get(const Eo *obj, int *l, int *r, int *t, int *b);
|
||||
EAPI void e_comp_object_frame_icon_geometry_get(const Eo *obj, int *x, int *y, int *w, int *h);
|
||||
EAPI Eina_Bool e_comp_object_frame_title_set(Eo *obj, const char *name);
|
||||
EAPI Eina_Bool e_comp_object_frame_exists(Eo *obj);
|
||||
EAPI void e_comp_object_frame_icon_update(Eo *obj);
|
||||
EAPI Eina_Bool e_comp_object_frame_theme_set(Eo *obj, const char *name);
|
||||
EAPI void e_comp_object_input_area_set(Eo *obj, int x, int y, int w, int h);
|
||||
EAPI void e_comp_object_damage(Eo *obj, int x, int y, int w, int h);
|
||||
EAPI Eina_Bool e_comp_object_damage_exists(Eo *obj);
|
||||
EAPI void e_comp_object_render_update_add(Eo *obj);
|
||||
EAPI void e_comp_object_render_update_del(Eo *obj);
|
||||
EAPI void e_comp_object_shape_apply(Eo *obj);
|
||||
EAPI void e_comp_object_redirected_set(Eo *obj, Eina_Bool set);
|
||||
EAPI void e_comp_object_native_surface_set(Eo *obj, Eina_Bool set);
|
||||
EAPI void e_comp_object_dirty(Eo *obj);
|
||||
EAPI Eina_Bool e_comp_object_render(Eo *obj);
|
||||
EAPI void e_comp_object_effect_set(Eo *obj, const char *effect);
|
||||
EAPI void e_comp_object_effect_params_set(Eo *obj, int id, int *params, unsigned int count);
|
||||
EAPI void e_comp_object_effect_clip(Eo *obj);
|
||||
EAPI void e_comp_object_effect_unclip(Eo *obj);
|
||||
EAPI void e_comp_object_effect_start(Eo *obj, Edje_Signal_Cb end_cb, const void *end_data);
|
||||
EAPI void e_comp_object_effect_stop(Eo *obj, Edje_Signal_Cb end_cb);
|
||||
EAPI void e_comp_object_frame_geometry_get(Evas_Object *obj, int *l, int *r, int *t, int *b);
|
||||
EAPI void e_comp_object_frame_icon_geometry_get(Evas_Object *obj, int *x, int *y, int *w, int *h);
|
||||
EAPI Eina_Bool e_comp_object_frame_title_set(Evas_Object *obj, const char *name);
|
||||
EAPI Eina_Bool e_comp_object_frame_exists(Evas_Object *obj);
|
||||
EAPI void e_comp_object_frame_icon_update(Evas_Object *obj);
|
||||
EAPI Eina_Bool e_comp_object_frame_theme_set(Evas_Object *obj, const char *name);
|
||||
EAPI void e_comp_object_signal_emit(Evas_Object *obj, const char *sig, const char *src);
|
||||
EAPI void e_comp_object_signal_callback_add(Evas_Object *obj, const char *sig, const char *src, Edje_Signal_Cb cb, const void *data);
|
||||
EAPI void e_comp_object_signal_callback_del(Evas_Object *obj, const char *sig, const char *src, Edje_Signal_Cb cb);
|
||||
EAPI void e_comp_object_signal_callback_del_full(Evas_Object *obj, const char *sig, const char *src, Edje_Signal_Cb cb, const void *data);
|
||||
EAPI void e_comp_object_input_area_set(Evas_Object *obj, int x, int y, int w, int h);
|
||||
EAPI void e_comp_object_damage(Evas_Object *obj, int x, int y, int w, int h);
|
||||
EAPI Eina_Bool e_comp_object_damage_exists(Evas_Object *obj);
|
||||
EAPI void e_comp_object_render_update_add(Evas_Object *obj);
|
||||
EAPI void e_comp_object_render_update_del(Evas_Object *obj);
|
||||
EAPI void e_comp_object_shape_apply(Evas_Object *obj);
|
||||
EAPI void e_comp_object_redirected_set(Evas_Object *obj, Eina_Bool set);
|
||||
EAPI void e_comp_object_native_surface_set(Evas_Object *obj, Eina_Bool set);
|
||||
EAPI void e_comp_object_dirty(Evas_Object *obj);
|
||||
EAPI Eina_Bool e_comp_object_render(Evas_Object *obj);
|
||||
EAPI void e_comp_object_effect_set(Evas_Object *obj, const char *effect);
|
||||
EAPI void e_comp_object_effect_params_set(Evas_Object *obj, int id, int *params, unsigned int count);
|
||||
EAPI void e_comp_object_effect_clip(Evas_Object *obj);
|
||||
EAPI void e_comp_object_effect_unclip(Evas_Object *obj);
|
||||
EAPI void e_comp_object_effect_start(Evas_Object *obj, Edje_Signal_Cb end_cb, const void *end_data);
|
||||
EAPI void e_comp_object_effect_stop(Evas_Object *obj, Edje_Signal_Cb end_cb);
|
||||
EAPI E_Comp_Object_Mover *e_comp_object_effect_mover_add(int pri, const char *sig, E_Comp_Object_Mover_Cb provider, const void *data);
|
||||
EAPI void e_comp_object_effect_mover_del(E_Comp_Object_Mover *prov);
|
||||
|
||||
|
|
|
@ -319,7 +319,7 @@ _mirror_client_smart_del(Evas_Object *obj)
|
|||
Mirror_Border *mb = evas_object_smart_data_get(obj);
|
||||
if (mb->m->comp_object && mb->m->ec)
|
||||
{
|
||||
edje_object_signal_callback_del_full(mb->m->ec->frame, "*", "*", _mirror_client_signal_cb, mb->frame);
|
||||
e_comp_object_signal_callback_del_full(mb->m->ec->frame, "*", "*", _mirror_client_signal_cb, mb->frame);
|
||||
evas_object_smart_callback_del_full(mb->m->ec->frame, "shadow_change", _mirror_client_shadow_change, mb->frame);
|
||||
}
|
||||
evas_object_del(mb->frame);
|
||||
|
@ -482,7 +482,7 @@ _mirror_client_new(Mirror *m)
|
|||
_mirror_client_theme_setup(mb);
|
||||
if (m->comp_object)
|
||||
{
|
||||
edje_object_signal_callback_add(mb->m->comp_object, "*", "*", _mirror_client_signal_cb, mb->frame);
|
||||
e_comp_object_signal_callback_add(mb->m->comp_object, "*", "*", _mirror_client_signal_cb, mb->frame);
|
||||
evas_object_smart_callback_add(mb->m->comp_object, "shadow_change", _mirror_client_shadow_change, mb->frame);
|
||||
evas_object_event_callback_add(m->comp_object, EVAS_CALLBACK_DEL, _e_deskmirror_mirror_del_cb, m);
|
||||
}
|
||||
|
@ -778,7 +778,7 @@ e_deskmirror_mirror_list(Evas_Object *deskmirror)
|
|||
static void
|
||||
_mirror_copy_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
|
||||
{
|
||||
edje_object_signal_callback_del_full(data, "*", "*", _mirror_client_signal_cb, obj);
|
||||
e_comp_object_signal_callback_del_full(data, "*", "*", _mirror_client_signal_cb, obj);
|
||||
evas_object_smart_callback_del_full(data, "shadow_change", _mirror_client_shadow_change, obj);
|
||||
}
|
||||
|
||||
|
@ -804,7 +804,7 @@ e_deskmirror_mirror_copy(Evas_Object *obj)
|
|||
edje_object_signal_emit(o, "e,state,shadow,off", "e");
|
||||
if (mb->m->comp_object)
|
||||
{
|
||||
edje_object_signal_callback_add(mb->m->comp_object, "*", "*", _mirror_client_signal_cb, o);
|
||||
e_comp_object_signal_callback_add(mb->m->comp_object, "*", "*", _mirror_client_signal_cb, o);
|
||||
evas_object_smart_callback_add(mb->m->comp_object, "shadow_change", _mirror_client_shadow_change, o);
|
||||
evas_object_event_callback_add(o, EVAS_CALLBACK_DEL, _mirror_copy_del, mb->m->comp_object);
|
||||
}
|
||||
|
|
|
@ -750,7 +750,7 @@ e_menu_item_submenu_set(E_Menu_Item *mi, E_Menu *sub)
|
|||
{
|
||||
if (mi->submenu_object)
|
||||
{
|
||||
if (eo_isa(mi->submenu_object, EDJE_CLASS))
|
||||
if (eo_isa(mi->submenu_object, EDJE_OBJ_CLASS))
|
||||
{
|
||||
/* already have a correct submenu object, don't re-set it */
|
||||
_e_menu_lock = EINA_FALSE;
|
||||
|
@ -880,11 +880,11 @@ e_menu_item_toggle_set(E_Menu_Item *mi, int tog)
|
|||
edje_object_signal_emit(mi->bg_object, "e,state,on", "e");
|
||||
if (mi->icon_bg_object)
|
||||
edje_object_signal_emit(mi->icon_bg_object, "e,state,on", "e");
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_CLASS))
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->label_object, "e,state,on", "e");
|
||||
if (mi->submenu_object && eo_isa(mi->submenu_object, EDJE_CLASS))
|
||||
if (mi->submenu_object && eo_isa(mi->submenu_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->submenu_object, "e,state,on", "e");
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_CLASS))
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->toggle_object, "e,state,on", "e");
|
||||
if (mi->menu->bg_object)
|
||||
edje_object_signal_emit(mi->menu->bg_object, "e,state,on", "e");
|
||||
|
@ -896,11 +896,11 @@ e_menu_item_toggle_set(E_Menu_Item *mi, int tog)
|
|||
edje_object_signal_emit(mi->bg_object, "e,state,off", "e");
|
||||
if (mi->icon_bg_object)
|
||||
edje_object_signal_emit(mi->icon_bg_object, "e,state,off", "e");
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_CLASS))
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->label_object, "e,state,off", "e");
|
||||
if (mi->submenu_object && eo_isa(mi->submenu_object, EDJE_CLASS))
|
||||
if (mi->submenu_object && eo_isa(mi->submenu_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->submenu_object, "e,state,off", "e");
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_CLASS))
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->toggle_object, "e,state,off", "e");
|
||||
if (mi->menu->bg_object)
|
||||
edje_object_signal_emit(mi->menu->bg_object, "e,state,off", "e");
|
||||
|
@ -1010,17 +1010,17 @@ e_menu_item_active_set(E_Menu_Item *mi, int active)
|
|||
edje_object_signal_emit(mi->bg_object, "e,state,selected", "e");
|
||||
if (mi->icon_bg_object)
|
||||
edje_object_signal_emit(mi->icon_bg_object, "e,state,selected", "e");
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_CLASS))
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->label_object, "e,state,selected", "e");
|
||||
if (mi->submenu_object && eo_isa(mi->submenu_object, EDJE_CLASS))
|
||||
if (mi->submenu_object && eo_isa(mi->submenu_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->submenu_object, "e,state,selected", "e");
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_CLASS))
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->toggle_object, "e,state,selected", "e");
|
||||
if (mi->icon_key)
|
||||
{
|
||||
if (mi->icon_object)
|
||||
{
|
||||
if (eo_isa(mi->icon_object, EDJE_CLASS))
|
||||
if (eo_isa(mi->icon_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->icon_object, "e,state,selected", "e");
|
||||
else
|
||||
e_icon_selected_set(mi->icon_object, EINA_TRUE);
|
||||
|
@ -1039,17 +1039,17 @@ e_menu_item_active_set(E_Menu_Item *mi, int active)
|
|||
edje_object_signal_emit(mi->bg_object, "e,state,unselected", "e");
|
||||
if (mi->icon_bg_object)
|
||||
edje_object_signal_emit(mi->icon_bg_object, "e,state,unselected", "e");
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_CLASS))
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->label_object, "e,state,unselected", "e");
|
||||
if (mi->submenu_object && eo_isa(mi->submenu_object, EDJE_CLASS))
|
||||
if (mi->submenu_object && eo_isa(mi->submenu_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->submenu_object, "e,state,unselected", "e");
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_CLASS))
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->toggle_object, "e,state,unselected", "e");
|
||||
if (mi->icon_key)
|
||||
{
|
||||
if (mi->icon_object)
|
||||
{
|
||||
if (eo_isa(mi->icon_object, EDJE_CLASS))
|
||||
if (eo_isa(mi->icon_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->icon_object, "e,state,unselected", "e");
|
||||
else
|
||||
e_icon_selected_set(mi->icon_object, EINA_FALSE);
|
||||
|
@ -1085,9 +1085,9 @@ e_menu_item_disabled_set(E_Menu_Item *mi, int disable)
|
|||
mi->disable = 1;
|
||||
if (mi->icon_bg_object)
|
||||
edje_object_signal_emit(mi->icon_bg_object, "e,state,disable", "e");
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_CLASS))
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->label_object, "e,state,disable", "e");
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_CLASS))
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->toggle_object, "e,state,disable", "e");
|
||||
}
|
||||
else
|
||||
|
@ -1095,9 +1095,9 @@ e_menu_item_disabled_set(E_Menu_Item *mi, int disable)
|
|||
mi->disable = 0;
|
||||
if (mi->icon_bg_object)
|
||||
edje_object_signal_emit(mi->icon_bg_object, "e,state,enable", "e");
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_CLASS))
|
||||
if (mi->label_object && eo_isa(mi->label_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->label_object, "e,state,enable", "e");
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_CLASS))
|
||||
if (mi->toggle_object && eo_isa(mi->toggle_object, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(mi->toggle_object, "e,state,enable", "e");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -649,11 +649,11 @@ _ibox_icon_signal_emit(IBox_Icon *ic, char *sig, char *src)
|
|||
{
|
||||
if (ic->o_holder)
|
||||
edje_object_signal_emit(ic->o_holder, sig, src);
|
||||
if (ic->o_icon && eo_isa(ic->o_icon, EDJE_CLASS))
|
||||
if (ic->o_icon && eo_isa(ic->o_icon, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(ic->o_icon, sig, src);
|
||||
if (ic->o_holder2)
|
||||
edje_object_signal_emit(ic->o_holder2, sig, src);
|
||||
if (ic->o_icon2 && eo_isa(ic->o_icon2, EDJE_CLASS))
|
||||
if (ic->o_icon2 && eo_isa(ic->o_icon2, EDJE_OBJ_CLASS))
|
||||
edje_object_signal_emit(ic->o_icon2, sig, src);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue