yakov pushed a commit to branch master. http://git.enlightenment.org/tools/erigo.git/commit/?id=5b7526cffd4812ad67de0c059c8dfa76851b3ee0
commit 5b7526cffd4812ad67de0c059c8dfa76851b3ee0 Author: Yakov Goldberg <yako...@samsung.com> Date: Thu Oct 8 19:13:55 2015 +0300 Finilizing undo/redo for name changes Remove/add name from hash when widget becomes inactive/active. --- src/lib/gui_widget.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/lib/gui_widget.c b/src/lib/gui_widget.c index cb2864f..3027bf7 100644 --- a/src/lib/gui_widget.c +++ b/src/lib/gui_widget.c @@ -829,6 +829,19 @@ eid_active_set(Eid *eid, Eina_Bool state) ERR("Resource doesn't exist already. Put here breakpoint and debug."); return; } + + const char *str = eid_data->name; + const Gui_Context *ctx = gui_context_get_by_eid(eid); + + if (state) + { + eina_hash_add(ctx->eids_by_name, str, (void *) eid); + } + else + { + eina_hash_del(ctx->eids_by_name, str, NULL); + } + eid_data->active = state; } --