From 346a77eaf15ac45ea29af6e2bb5e516079730a57 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sun, 13 May 2012 05:14:02 +0000 Subject: [PATCH] make gadman popup/show win also handle dnd as a target. SVN revision: 70956 --- src/modules/gadman/e_mod_gadman.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/gadman/e_mod_gadman.c b/src/modules/gadman/e_mod_gadman.c index 7f20c49..75cc64e 100644 --- a/src/modules/gadman/e_mod_gadman.c +++ b/src/modules/gadman/e_mod_gadman.c @@ -346,6 +346,7 @@ gadman_gadgets_show(void) Man->visible = 1; ecore_evas_show(Man->top_ee); + if (Man->conf->bg_type == BG_STD) { if (Man->conf->anim_bg) @@ -530,6 +531,10 @@ _gadman_gadcon_new(const char* name, Gadman_Layer_Type layer, E_Zone *zone, E_Ga evas_object_move(Man->full_bg, 0, 0); evas_object_resize(Man->full_bg, Man->width, Man->height); evas_object_show(Man->full_bg); + + e_drop_xdnd_register_set(Man->top_win, 1); + e_gadcon_xdnd_window_set(gc, Man->top_win); + e_gadcon_dnd_window_set(gc, Man->top_win); } /* ... or use the e background window */ else -- 2.7.4