if (!layout_id)
return;
- elm_object_disabled_set(m->sortbtn, EINA_FALSE);
if (!strcmp(layout_id, MUSIC_ALBUM_SONGS_LAYOUT) ||
!strcmp(layout_id, MUSIC_CATEGORY_SONGS_LAYOUT) ||
!strcmp(layout_id, MUSIC_CATEGORY_ALBUM_LAYOUT) ||
- !strcmp(layout_id, MUSIC_CATEGORY_SELECTLIST_LAYOUT))
+ !strcmp(layout_id, MUSIC_CATEGORY_SELECTLIST_LAYOUT)) {
elm_object_disabled_set(m->sortbtn, EINA_TRUE);
+ elm_object_focus_next_object_set(m->plbackbtn, m->srcbtn, ELM_FOCUS_RIGHT);
+ elm_object_focus_next_object_set(m->srcbtn, m->plbackbtn, ELM_FOCUS_LEFT);
+ }
+ else {
+ elm_object_disabled_set(m->sortbtn, EINA_FALSE);
+ elm_object_focus_next_object_set(m->plbackbtn, m->sortbtn, ELM_FOCUS_RIGHT);
+ elm_object_focus_next_object_set(m->sortbtn, m->srcbtn, ELM_FOCUS_RIGHT);
+ elm_object_focus_next_object_set(m->srcbtn, m->sortbtn, ELM_FOCUS_LEFT);
+ elm_object_focus_next_object_set(m->sortbtn, m->plbackbtn, ELM_FOCUS_LEFT);
+ }
}
else if (update_type == E_DEPTH_UPDATE) {
if (!layout_id)