forked from enlightenment/enlightenment
ELM_WIN_DIALOG_BASIC is broken in wl right now, so for wl create
normal elm windows for now. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
59c737dd28
commit
41a120eafe
|
@ -188,7 +188,13 @@ _e_config_dialog_go(E_Config_Dialog *cfd, E_Config_Dialog_CFData_Type type)
|
|||
if ((cfd->view->normal_win) || (e_config->cfgdlg_normal_wins))
|
||||
cfd->dia = e_dialog_normal_win_new(cfd->parent, cfd->name, buf);
|
||||
else
|
||||
cfd->dia = e_dialog_new(cfd->parent, cfd->name, buf);
|
||||
{
|
||||
#warning REMOVE STUPID ELM HACK FOR WAYLAND BEFORE RELEASE
|
||||
if (e_comp && e_comp->comp_type != E_PIXMAP_TYPE_WL)
|
||||
cfd->dia = e_dialog_new(cfd->parent, cfd->name, buf);
|
||||
else
|
||||
cfd->dia = e_dialog_normal_win_new(cfd->parent, cfd->name, buf);
|
||||
}
|
||||
e_object_del_attach_func_set(E_OBJECT(cfd->dia),
|
||||
_e_config_dialog_cb_dialog_del);
|
||||
} /* window was created before - deleting content only */
|
||||
|
|
Loading…
Reference in New Issue