m->focus_idler = NULL;
+ elm_object_tree_focus_allow_set(t.base, EINA_TRUE);
+
if (t.depth == E_DEPTH_CATEGORY) {
it = m_FindItemByInfo(m->it_infolist, t.c_catinfo);
if (!it) {
void CCategoryLayout::m_EmptyLayout(bool sort_flag)
{
if (t.grid) {
- elm_gengrid_clear(t.grid);
evas_object_del(t.grid);
t.grid = NULL;
}
if (m->glist) {
- elm_genlist_clear(m->glist);
evas_object_del(m->glist);
m->glist = NULL;
}
if (m->albumCover)
evas_object_del(m->albumCover);
m->albumCover = NULL;
-
- evas_object_hide(Layout());
}
void CCategoryLayout::t_UpdateLayoutWithFocus(void)
{
+ elm_object_tree_focus_allow_set(t.base, EINA_FALSE);
+
t_UpdateLayout(false);
evas_object_show(Layout());
m_RemoveFocusIdler();
return false;
}
+ memset(&t, 0, sizeof(SCategoryLayoutProtected));
+
vmgr = CViewMgr::GetInstance();
if (!vmgr) {
_ERR(" get view mgr failed ");