rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=c97ff053b21ac2cdda5288c0f569410a95bf19c4

commit c97ff053b21ac2cdda5288c0f569410a95bf19c4
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Mon Feb 1 16:00:50 2016 +0200

    editor: use correct type for program rename
---
 src/bin/editor/editor_program.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/editor/editor_program.c b/src/bin/editor/editor_program.c
index f4d00d7..218c488 100644
--- a/src/bin/editor/editor_program.c
+++ b/src/bin/editor/editor_program.c
@@ -253,11 +253,11 @@ editor_program_name_set(Evas_Object *edit_object, Change 
*change, Eina_Bool merg
    if (change)
      {
         diff = mem_calloc(1, sizeof(Diff));
-        diff->redo.type = FUNCTION_TYPE_STRING_STRING;
+        diff->redo.type = FUNCTION_TYPE_STRING_STRING_RENAME;
         diff->redo.function = editor_program_name_set;
         diff->redo.args.type_ss.s1 = eina_stringshare_add(name);
         diff->redo.args.type_ss.s2 = eina_stringshare_add(new_val);
-        diff->undo.type = FUNCTION_TYPE_STRING_STRING;
+        diff->undo.type = FUNCTION_TYPE_STRING_STRING_RENAME;
         diff->undo.function = editor_program_name_set;
         diff->undo.args.type_ss.s1 = eina_stringshare_add(new_val);
         diff->undo.args.type_ss.s2 = eina_stringshare_add(name);

-- 


Reply via email to