forked from enlightenment/efl
elementary: fix typos
Reviewers: stanluk, lukasz.stanislawski Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5494
This commit is contained in:
parent
b27944da08
commit
cb2ba05675
|
@ -529,7 +529,7 @@ dirty_add(Eo *obj, Efl_Ui_Focus_Manager_Calc_Data *pd, Node *dirty)
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_node_new_geometery_cb(void *data, const Efl_Event *event)
|
_node_new_geometry_cb(void *data, const Efl_Event *event)
|
||||||
{
|
{
|
||||||
Node *node;
|
Node *node;
|
||||||
FOCUS_DATA(data)
|
FOCUS_DATA(data)
|
||||||
|
@ -554,8 +554,8 @@ _object_del_cb(void *data, const Efl_Event *event)
|
||||||
}
|
}
|
||||||
|
|
||||||
EFL_CALLBACKS_ARRAY_DEFINE(focusable_node,
|
EFL_CALLBACKS_ARRAY_DEFINE(focusable_node,
|
||||||
{EFL_GFX_EVENT_RESIZE, _node_new_geometery_cb},
|
{EFL_GFX_EVENT_RESIZE, _node_new_geometry_cb},
|
||||||
{EFL_GFX_EVENT_MOVE, _node_new_geometery_cb},
|
{EFL_GFX_EVENT_MOVE, _node_new_geometry_cb},
|
||||||
{EFL_EVENT_DEL, _object_del_cb},
|
{EFL_EVENT_DEL, _object_del_cb},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -1389,7 +1389,7 @@ _efl_ui_focus_manager_calc_efl_ui_focus_manager_focus_set(Eo *obj, Efl_Ui_Focus_
|
||||||
{
|
{
|
||||||
Efl_Ui_Focus_Manager *m = obj;
|
Efl_Ui_Focus_Manager *m = obj;
|
||||||
|
|
||||||
//completly unset the current redirect chain
|
//completely unset the current redirect chain
|
||||||
while (efl_ui_focus_manager_redirect_get(m))
|
while (efl_ui_focus_manager_redirect_get(m))
|
||||||
{
|
{
|
||||||
Efl_Ui_Focus_Manager *old = m;
|
Efl_Ui_Focus_Manager *old = m;
|
||||||
|
|
|
@ -1720,27 +1720,27 @@ static void
|
||||||
_legacy_focused(void *data, const Efl_Event *ev)
|
_legacy_focused(void *data, const Efl_Event *ev)
|
||||||
{
|
{
|
||||||
Efl_Ui_Focus_Object *new_focus;
|
Efl_Ui_Focus_Object *new_focus;
|
||||||
Eina_Bool meaningfull_focus_in = EINA_FALSE, meaningfull_focus_out = EINA_FALSE;
|
Eina_Bool meaningful_focus_in = EINA_FALSE, meaningful_focus_out = EINA_FALSE;
|
||||||
EFL_UI_MULTIBUTTONENTRY_DATA_GET(data, pd);
|
EFL_UI_MULTIBUTTONENTRY_DATA_GET(data, pd);
|
||||||
|
|
||||||
new_focus = efl_ui_focus_manager_focus_get(ev->object);
|
new_focus = efl_ui_focus_manager_focus_get(ev->object);
|
||||||
|
|
||||||
if (efl_isa(ev->info, ELM_WIDGET_CLASS) && elm_widget_parent_get(ev->info) == pd->box)
|
if (efl_isa(ev->info, ELM_WIDGET_CLASS) && elm_widget_parent_get(ev->info) == pd->box)
|
||||||
{
|
{
|
||||||
meaningfull_focus_out = EINA_TRUE;
|
meaningful_focus_out = EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (efl_isa(new_focus, ELM_WIDGET_CLASS) && elm_widget_parent_get(new_focus) == pd->box)
|
if (efl_isa(new_focus, ELM_WIDGET_CLASS) && elm_widget_parent_get(new_focus) == pd->box)
|
||||||
{
|
{
|
||||||
meaningfull_focus_in = EINA_TRUE;
|
meaningful_focus_in = EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (meaningfull_focus_in && !meaningfull_focus_out)
|
if (meaningful_focus_in && !meaningful_focus_out)
|
||||||
{
|
{
|
||||||
efl_event_callback_legacy_call(data, EFL_UI_WIDGET_EVENT_FOCUSED, NULL);
|
efl_event_callback_legacy_call(data, EFL_UI_WIDGET_EVENT_FOCUSED, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!meaningfull_focus_in && meaningfull_focus_out)
|
if (!meaningful_focus_in && meaningful_focus_out)
|
||||||
{
|
{
|
||||||
efl_event_callback_legacy_call(data, EFL_UI_WIDGET_EVENT_UNFOCUSED, NULL);
|
efl_event_callback_legacy_call(data, EFL_UI_WIDGET_EVENT_UNFOCUSED, NULL);
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,7 +206,7 @@ _val_set(Evas_Object *obj)
|
||||||
edje_object_part_drag_value_set
|
edje_object_part_drag_value_set
|
||||||
(wd->resize_obj, "elm.dragable2.slider", pos2, pos2);
|
(wd->resize_obj, "elm.dragable2.slider", pos2, pos2);
|
||||||
|
|
||||||
// emit accessiblity event also if value was chagend by API
|
// emit accessibility event also if value was changed by API
|
||||||
if (_elm_config->atspi_mode)
|
if (_elm_config->atspi_mode)
|
||||||
efl_access_value_changed_signal_emit(obj);
|
efl_access_value_changed_signal_emit(obj);
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,7 +73,7 @@ _val_set(Evas_Object *obj)
|
||||||
edje_object_part_drag_value_set
|
edje_object_part_drag_value_set
|
||||||
(wd->resize_obj, "elm.dragable2.slider", pos2, pos2);
|
(wd->resize_obj, "elm.dragable2.slider", pos2, pos2);
|
||||||
|
|
||||||
// emit accessiblity event also if value was chagend by API
|
// emit accessibility event also if value was changed by API
|
||||||
if (_elm_config->atspi_mode)
|
if (_elm_config->atspi_mode)
|
||||||
efl_access_value_changed_signal_emit(obj);
|
efl_access_value_changed_signal_emit(obj);
|
||||||
}
|
}
|
||||||
|
|
|
@ -133,7 +133,7 @@ _on_thumb_preloaded(void *data,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* As we do use stat to check if a thumbnail is available, it's
|
/* As we do use stat to check if a thumbnail is available, it's
|
||||||
* possible that we end up accessing it before the file is completly
|
* possible that we end up accessing it before the file is completely
|
||||||
* written on disk. By retrying each time a thumbnail is finished we
|
* written on disk. By retrying each time a thumbnail is finished we
|
||||||
* should be fine or not.
|
* should be fine or not.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue