bool ListView::loadView(void)
{
- Evas_Object *gl;
Evas_Object *win;
- Evas_Object *conform;
Assert(m_naviFrame);
resetBase();
win = static_cast<Evas_Object *>(ug_get_window());
Assert(win);
- elm_win_conformant_set(win, EINA_TRUE);
- conform = elm_conformant_add(m_naviFrame);
- if (!conform)
- return false;
- elm_object_style_set(conform, "layout");
- gl = elm_genlist_add(conform);
- if (!gl) {
- evas_object_del(conform);
+ m_gl = elm_genlist_add(m_naviFrame);
+ if (!m_gl) {
+ evas_object_del(m_naviFrame);
return false;
}
bindtextdomain("ug-webapp-common-efl",
MOFILE_INSTALL_DIR);
- elm_object_style_set(gl, "dialogue");
- elm_object_content_set(conform, gl);
- resetBase(conform);
- addDepth(gl);
- addOnOffItem(gl,
+ elm_object_style_set(m_gl, "dialogue");
+ addDepth(m_gl);
+ addOnOffItem(m_gl,
dgettext("ug-webapp-common-efl", COOKIE_SHARING),
getCookieSharingVal,
onCookieSharingChanged);
- addDesc(gl,
+ addDesc(m_gl,
dgettext("ug-webapp-common-efl",
SHARE_COOKIES_BETWEEN_WEB_APPS));
pushToNaviFrame();
"Web applications",
btn,
NULL,
- getBase(),
+ m_gl,
NULL);
return true;