From 3de858efc220f0a39e2bc92b30ef5e775a9ff16e Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Mon, 2 Oct 2006 14:34:19 +0000 Subject: [PATCH] dnd to ibar from apps config and fwin/fm2 works SVN revision: 26303 --- src/modules/ibar/e_mod_main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c index c5e33a2f9..1a61544de 100644 --- a/src/modules/ibar/e_mod_main.c +++ b/src/modules/ibar/e_mod_main.c @@ -1183,7 +1183,7 @@ _ibar_inst_cb_drop(void *data, const char *type, void *event_info) E_Event_Dnd_Drop *ev; Instance *inst; E_App *app = NULL; - Evas_List *l = NULL; + Evas_List *l, *fl = NULL; IBar_Icon *ic; ev = event_info; @@ -1229,7 +1229,7 @@ _ibar_inst_cb_drop(void *data, const char *type, void *event_info) } else if (!strcmp(type, "text/uri-list")) { - l = ev->data; + fl = ev->data; } ic = inst->ibar->ic_drop_before; @@ -1253,8 +1253,8 @@ _ibar_inst_cb_drop(void *data, const char *type, void *event_info) if (!ic) goto atend; if (app) e_app_list_prepend_relative(app, ic->app); - else if (l) - e_app_files_list_prepend_relative(l, ic->app); + else if (fl) + e_app_files_list_prepend_relative(fl, ic->app); } else { @@ -1263,8 +1263,8 @@ _ibar_inst_cb_drop(void *data, const char *type, void *event_info) { if (app) e_app_list_append(app, inst->ibar->apps); - else if (l) - e_app_files_list_append(l, inst->ibar->apps); + else if (fl) + e_app_files_list_append(fl, inst->ibar->apps); } } clean: