rimmed pushed a commit to branch master.

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

commit 75234f52b288605dd7e858dab001d43bd1fd4763
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Tue Jan 26 11:46:52 2016 +0200

    sound_editor: change the signal fomr SIGNAL_SOUND_ADD to SIGNAL_SOUND_SELECT
    
    Correct the signal nae
    
    Change-Id: I3d7fe1548cad2ed246e8388600fdeba467f5c643
---
 src/bin/common/signals.h          | 2 +-
 src/bin/ui/editors/sound_editor.c | 4 ++--
 src/bin/ui/property_sound.c       | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/bin/common/signals.h b/src/bin/common/signals.h
index abf3349..e82846e 100644
--- a/src/bin/common/signals.h
+++ b/src/bin/common/signals.h
@@ -336,7 +336,7 @@ typedef struct {
  *
  * @ingroup Window
  */
-#define SIGNAL_SOUND_ADD "SIGNAL_SOUND_ADD"
+#define SIGNAL_SOUND_SELECT "SIGNAL_SOUND_SELECT"
 
  /**
  * emited when sound/sounds in sound editor is/are deleted.
diff --git a/src/bin/ui/editors/sound_editor.c 
b/src/bin/ui/editors/sound_editor.c
index 4efe0e3..62833c4 100644
--- a/src/bin/ui/editors/sound_editor.c
+++ b/src/bin/ui/editors/sound_editor.c
@@ -136,7 +136,7 @@ _grid_sel_sample(void *data,
    snd_data->sound_type = SOUND_TYPE_SAMPLE;
    elm_object_disabled_set(edit->btn_del, false);
 
-   evas_object_smart_callback_call(ap.win, SIGNAL_SOUND_ADD, snd_data);
+   evas_object_smart_callback_call(ap.win, SIGNAL_SOUND_SELECT, snd_data);
 }
 
 static void
@@ -154,7 +154,7 @@ _grid_sel_tone(void *data,
    snd_data->tone = edit->tone;
    elm_object_disabled_set(edit->btn_del, false);
 
-   evas_object_smart_callback_call(ap.win, SIGNAL_SOUND_ADD, snd_data);
+   evas_object_smart_callback_call(ap.win, SIGNAL_SOUND_SELECT, snd_data);
 }
 
 static void
diff --git a/src/bin/ui/property_sound.c b/src/bin/ui/property_sound.c
index 9915e68..fe38b96 100644
--- a/src/bin/ui/property_sound.c
+++ b/src/bin/ui/property_sound.c
@@ -1025,7 +1025,7 @@ ui_property_sound_add(Evas_Object *parent)
    FRAME_PROPERTY_ADD(pd->box, pd->info_frame, true, _("Info"), pd->box)
    _sound_info_create(parent, pd);
 
-   evas_object_smart_callback_add(ap.win, SIGNAL_SOUND_ADD, _on_grid_clicked, 
pd);
+   evas_object_smart_callback_add(ap.win, SIGNAL_SOUND_SELECT, 
_on_grid_clicked, pd);
 
    return pd->box;
 }

-- 


Reply via email to