forked from enlightenment/enlightenment
remove need to create different dialog windows under wayland
NB: This hack is no longer needed. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
42aa6be359
commit
5e63489a9a
|
@ -189,13 +189,7 @@ _e_config_dialog_go(E_Config_Dialog *cfd, E_Config_Dialog_CFData_Type type)
|
||||||
if ((cfd->view->normal_win) || (e_config->cfgdlg_normal_wins))
|
if ((cfd->view->normal_win) || (e_config->cfgdlg_normal_wins))
|
||||||
cfd->dia = e_dialog_normal_win_new(cfd->parent, cfd->name, buf);
|
cfd->dia = e_dialog_normal_win_new(cfd->parent, cfd->name, buf);
|
||||||
else
|
else
|
||||||
{
|
|
||||||
/* FIXME: REMOVE 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);
|
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_object_del_attach_func_set(E_OBJECT(cfd->dia),
|
||||||
_e_config_dialog_cb_dialog_del);
|
_e_config_dialog_cb_dialog_del);
|
||||||
} /* window was created before - deleting content only */
|
} /* window was created before - deleting content only */
|
||||||
|
|
Loading…
Reference in New Issue