devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a9834fe0e6a2dc3fd4f5ae74e23f052471ac0d1b

commit a9834fe0e6a2dc3fd4f5ae74e23f052471ac0d1b
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Jan 14 16:33:19 2015 -0500

    add workaround for ELM_DIALOG_WIN_BASIC not working in wayland.
    add #warning to remove when resolved.
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/e_module.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_module.c b/src/bin/e_module.c
index 5b4efc0..746106e 100644
--- a/src/bin/e_module.c
+++ b/src/bin/e_module.c
@@ -746,7 +746,14 @@ _e_module_dialog_disable_show(const char *title, const 
char *body, E_Module *m)
    char buf[4096];
 
    printf("MODULE ERR:\n%s\n", body);
-   dia = e_dialog_new(NULL, "E", "_module_unload_dialog");
+
+   /* FIXME: Stupid hack for ELM_WIN_DIALOG_BASIC not working in wayland */
+#warning REMOVE STUPID ELM HACK FOR WAYLAND BEFORE RELEASE
+   if (e_comp->comp_type != E_PIXMAP_TYPE_WL)
+     dia = e_dialog_new(NULL, "E", "_module_unload_dialog");
+   else
+     dia = e_dialog_normal_win_new(NULL, "E", "_module_unload_dialog");
+
    EINA_SAFETY_ON_NULL_RETURN(dia);
 
    snprintf(buf, sizeof(buf), "%s<br>%s", body,

-- 


Reply via email to