yakov pushed a commit to branch master. http://git.enlightenment.org/tools/erigo.git/commit/?id=9ba87fbdf089c4f461c1a70ea35e199b66ecc113
commit 9ba87fbdf089c4f461c1a70ea35e199b66ecc113 Author: Yakov Goldberg <[email protected]> Date: Thu Nov 5 17:44:38 2015 +0200 Squash only Box memento Need to add support for other containers --- src/lib/undoredo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/undoredo.c b/src/lib/undoredo.c index 42c7302..9b53184 100644 --- a/src/lib/undoredo.c +++ b/src/lib/undoredo.c @@ -311,6 +311,8 @@ memento_finalize(Memento *memento) } if (cmd->type == MEMENTO_OBJ_CONTAINER_ITEM) { + Eid *eid = memento_command_wdg_get(cmd); + if (strcmp(wdg_class_name_get(wdg_get(eid)), DB_DEF_BOX_CLASS)) continue; const Eina_List *from_list, *to_list; from_list = obj_container_contents_list_get(cmd->old_ptr); to_list = obj_container_contents_list_get(cmd->new_ptr); --
