furrymyad pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4655f90aafd88dfa07a1d85fb359c7629012fa75

commit 4655f90aafd88dfa07a1d85fb359c7629012fa75
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Fri Oct 28 15:56:28 2016 +0300

    Edje_Edit: save files name instead of full path on sound add
    
    Since file will be inside of edj file, there is no need in having full path 
to
    the place from where it was imported
    
    @fix
---
 src/lib/edje/edje_edit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index aa41124..03a5fdf 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -1226,7 +1226,7 @@ edje_edit_sound_sample_add(Evas_Object *obj, const char 
*name, const char *snd_s
    sound_sample = ed->file->sound_dir->samples +
      ed->file->sound_dir->samples_count - 1;
    sound_sample->name = (char *)eina_stringshare_add(name);
-   sound_sample->snd_src = (char *)eina_stringshare_add(snd_src);
+   sound_sample->snd_src = (char 
*)eina_stringshare_add(ecore_file_file_get(snd_src));
    sound_sample->compression = EDJE_SOUND_SOURCE_TYPE_INLINE_RAW;
    sound_sample->id = id;
    sound_sample->mode = 0;

-- 


Reply via email to