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,8 +51,8 @@ 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;
elm_genlist_horizontal_mode_set(obj, set);
if (set != ELM_LIST_LAST)
elm_genlist_horizontal_mode_set(obj, set);
}
if (p->multi_exists)
elm_genlist_multi_select_set(obj, p->multi);

View File

@ -54,10 +54,11 @@ 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_horizontal_mode_set(obj, set);
Elm_List_Mode set = _list_horizontal_mode_setting_get(
p->horizontal_mode);
if (set != ELM_LIST_LAST)
elm_list_horizontal_mode_set(obj, set);
}
if ((p->policy_h) && (p->policy_v))

View File

@ -38,8 +38,8 @@ 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;
elm_thumb_animate_set(obj, set);
if (set != ELM_THUMB_ANIMATION_LAST)
elm_thumb_animate_set(obj, set);
}
if (p->aspect_exists)
elm_thumb_keep_aspect_set(obj, p->keep_aspect);