rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=764055ff6841dee447ff569024cf684f03f89839
commit 764055ff6841dee447ff569024cf684f03f89839 Author: Viacheslav Reutskyi <reutskiy....@gmail.com> Date: Sun Feb 14 12:56:08 2016 +0200 sound_manager: unable to add the folder as sample sound --- src/bin/ui/sound_manager.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bin/ui/sound_manager.c b/src/bin/ui/sound_manager.c index 1a2aa7b..4cebed4 100644 --- a/src/bin/ui/sound_manager.c +++ b/src/bin/ui/sound_manager.c @@ -262,6 +262,12 @@ _add_sample_done(void *data, ERR(_("File '%s' is not exist"), selected); return false; } + if (ecore_file_is_dir(selected)) + { + ERR(_("Unable to add folder")) + return true; + } + file_name = ecore_file_file_get(selected); sound_name = eina_stringshare_add(file_name); EINA_LIST_FOREACH(samples_list, l, res) --