From e88c0ed857dc95f0c4dfc0c58eff29875a359eb2 Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 13 Oct 2005 02:43:16 +0000 Subject: [PATCH] patch for ibar dnd of a non eap.. from... poku-chan! (man that name just lends itself to japanification) :) thanks man! :) SVN revision: 17492 --- TODO | 2 -- src/modules/ibar/e_mod_main.c | 9 +++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index bef80d1e9..5ccdfce74 100644 --- a/TODO +++ b/TODO @@ -8,8 +8,6 @@ Some of the things (in very short form) that need to be done to E17... BUGS / FIXES ------------------------------------------------------------------------------- -* BUG: dnd to ibar of an icon that isnt a .eap (app provided for example) drop - indicator doesnt stop after error dialog report. * BUG: dnd to ibar is broken if u did an icon that isn't IN the ibar yet (from a window border) to either the very start or end of the ibar. * BUG: some bug if u flip desktops fast enough window s vanish (how the hell diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index 8433d1f03..6e96d4038 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -1662,6 +1662,15 @@ _ibar_bar_cb_drop(void *data, const char *type, void *event) { E_Dialog *dia; + e_box_freeze(ibb->box_object); + e_box_unpack(ibb->drag_object); + evas_object_del(ibb->drag_object); + ibb->drag_object = NULL; + evas_object_del(ibb->drag_object_overlay); + ibb->drag_object_overlay = NULL; + e_box_thaw(ibb->box_object); + _ibar_bar_frame_resize(ibb); + dia = e_dialog_new(e_container_current_get(e_manager_current_get())); e_dialog_title_set(dia, _("Cannot add icon")); e_dialog_text_set(dia,