rimmed pushed a commit to branch master.

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

commit db0321da085a468c82b3bdcaed4e7f1c9f213435
Author: Vitalii Vorobiov <vi.vorob...@samsung.com>
Date:   Wed Mar 16 14:33:18 2016 +0200

    property_group: remove transition controls when program action is not STATE 
SET
    
    Fixes T3234
---
 src/bin/ui/property_group.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/bin/ui/property_group.c b/src/bin/ui/property_group.c
index 10a7daf..99cb1c9 100644
--- a/src/bin/ui/property_group.c
+++ b/src/bin/ui/property_group.c
@@ -1993,13 +1993,12 @@ prop_program_transition_update(Group_Prop_Data *pd)
    /* disable the transition controls, and enable it if action is STATE_SET */
    if (EDJE_ACTION_TYPE_STATE_SET != 
edje_edit_program_action_get(pd->group->edit_object, 
pd->attributes.program.program))
      {
-        elm_object_disabled_set(pd->attributes.program.transition, true);
-        elm_object_disabled_set(pd->attributes.program.transition_params, 
true);
-        ewe_combobox_select_item_set(pd->attributes.program.transition, 0);
+         elm_object_disabled_set(pd->attributes.program.transition, true);
+         ewe_combobox_select_item_set(pd->attributes.program.transition, 0);
+         _program_transition_param_set(pd, EDJE_TWEEN_MODE_NONE);
         return;
      }
    elm_object_disabled_set(pd->attributes.program.transition, false);
-   elm_object_disabled_set(pd->attributes.program.transition_params, false);
 
    type = editor_program_transition_type_get(pd->group->edit_object, 
pd->attributes.program.program);
    switch (type)

-- 


Reply via email to