Eina_Bool *ret = va_arg(*list, Eina_Bool *);
if (ret) *ret = EINA_FALSE;
+ if (elm_widget_disabled_get(obj)) return;
if (act != ELM_ACTIVATE_DEFAULT) return;
+ if (evas_object_freeze_events_get(obj)) return;
- if (!elm_widget_disabled_get(obj) &&
- !evas_object_freeze_events_get(obj))
- {
- evas_object_smart_callback_call(obj, SIG_CLICKED, NULL);
- elm_layout_signal_emit(obj, "elm,anim,activate", "elm");
- }
+ evas_object_smart_callback_call(obj, SIG_CLICKED, NULL);
+ elm_layout_signal_emit(obj, "elm,anim,activate", "elm");
if (ret) *ret = EINA_TRUE;
}
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
if (ret) *ret = EINA_FALSE;
+ if (elm_widget_disabled_get(obj)) return;
if (act != ELM_ACTIVATE_DEFAULT) return;
_activate(obj);
Evas_Coord page_x = 0;
Evas_Coord page_y = 0;
- if ((elm_widget_disabled_get(obj)) ||
- (act == ELM_ACTIVATE_DEFAULT)) return;
+ if (elm_widget_disabled_get(obj)) return;
+ if (act != ELM_ACTIVATE_DEFAULT) return;
eo_do(obj,
elm_scrollable_interface_content_pos_get(&x, &y),
if (ret) *ret = EINA_FALSE;
Elm_Slider_Smart_Data *sd = _pd;
- if ((elm_widget_disabled_get(obj)) ||
- (act == ELM_ACTIVATE_DEFAULT)) return;
+ if (elm_widget_disabled_get(obj)) return;
+ if (act != ELM_ACTIVATE_DEFAULT) return;
if ((act == ELM_ACTIVATE_UP) ||
(act == ELM_ACTIVATE_RIGHT))