dont return if choice didnt match

SVN revision: 48436
This commit is contained in:
Tiago Rezende Campos Falcao 2010-04-29 20:26:41 +00:00
parent 8186783f89
commit cd6fc4f7d0
3 changed files with 9 additions and 8 deletions

View File

@ -51,7 +51,7 @@ external_genlist_state_set(void *data __UNUSED__, Evas_Object *obj, const void *
{
Elm_List_Mode set = _list_horizontal_mode_setting_get(p->horizontal_mode);
if (set == ELM_LIST_LAST) return;
if (set != ELM_LIST_LAST)
elm_genlist_horizontal_mode_set(obj, set);
}
if (p->multi_exists)

View File

@ -54,9 +54,10 @@ external_list_state_set(void *data __UNUSED__, Evas_Object *obj, const void *fro
if (p->horizontal_mode)
{
Elm_List_Mode set = _list_horizontal_mode_setting_get(p->horizontal_mode
);
if (set == ELM_LIST_LAST) return;
Elm_List_Mode set = _list_horizontal_mode_setting_get(
p->horizontal_mode);
if (set != ELM_LIST_LAST)
elm_list_horizontal_mode_set(obj, set);
}

View File

@ -38,7 +38,7 @@ external_thumb_state_set(void *data __UNUSED__, Evas_Object *obj, const void *fr
if (p->animate)
{
Elm_Thumb_Animation_Setting set = _anim_setting_get(p->animate);
if (set == ELM_THUMB_ANIMATION_LAST) return;
if (set != ELM_THUMB_ANIMATION_LAST)
elm_thumb_animate_set(obj, set);
}
if (p->aspect_exists)