rimmed pushed a commit to branch master.

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

commit 62454179ebc5e8f1d1e459a7d7ef7f6270079eb5
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Thu Jan 28 15:38:31 2016 +0200

    property_sound: delete the tone duration, because tone hasn't it
    
    Change-Id: Ieeb8ebc37fba291a7d2f7287439c501231ad3823
---
 src/bin/ui/property_sound.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/bin/ui/property_sound.c b/src/bin/ui/property_sound.c
index 4fdf243..b1e4f16 100644
--- a/src/bin/ui/property_sound.c
+++ b/src/bin/ui/property_sound.c
@@ -90,7 +90,6 @@ struct _Sound_Prop_Data
       Evas_Object *teg;
       Evas_Object *tone_name;
       Evas_Object *tone_frq;
-      Evas_Object *tone_duration;
       Evas_Object *file_name;
       Evas_Object *duration;
       Evas_Object *type;
@@ -761,7 +760,6 @@ static void
 _tone_info_update(Sound_Prop_Data *pd, Selected_Sound_Data *snd_data)
 {
    Evas_Object *item;
-   Eina_Stringshare *duration;
 
    evas_object_hide(pd->sample_box);
    evas_object_show(pd->tone_box);
@@ -769,17 +767,10 @@ _tone_info_update(Sound_Prop_Data *pd, 
Selected_Sound_Data *snd_data)
    elm_object_content_unset(pd->info_frame);
    elm_object_content_set(pd->info_frame, pd->tone_box);
 
-   duration = eina_stringshare_printf("%.1f s", snd_data->duration);
-
    item = elm_object_part_content_get(pd->snd_data.tone_name, 
"elm.swallow.content");
    elm_object_text_set(item, snd_data->file_name);
 
    elm_spinner_value_set(pd->snd_data.tone_frq, snd_data->tone_frq);
-
-   item = elm_object_part_content_get(pd->snd_data.duration, 
"swallow.content1");
-   elm_object_text_set(item, duration);
-
-   eina_stringshare_del(duration);
 }
 
 #ifdef HAVE_AUDIO
@@ -958,9 +949,6 @@ _tone_info_create(Evas_Object *parent, Sound_Prop_Data 
*edit)
    item = prop_sound_editor_tone_frequency_add(edit->tone_box, edit);
    elm_box_pack_end(edit->tone_box, item);
 
-   edit->snd_data.tone_duration = prop_item_label_add(edit->tone_box, 
&edit->snd_data.tone_duration, _("duration:"), _(" - "));
-   elm_box_pack_end(edit->tone_box, edit->snd_data.tone_duration);
-
    evas_object_hide(edit->tone_box);
 }
 

-- 


Reply via email to