dnd to ibar from apps config and fwin/fm2 works

SVN revision: 26303
This commit is contained in:
Carsten Haitzler 2006-10-02 14:34:19 +00:00
parent 168dfceda4
commit 3de858efc2
1 changed files with 6 additions and 6 deletions

View File

@ -1183,7 +1183,7 @@ _ibar_inst_cb_drop(void *data, const char *type, void *event_info)
E_Event_Dnd_Drop *ev; E_Event_Dnd_Drop *ev;
Instance *inst; Instance *inst;
E_App *app = NULL; E_App *app = NULL;
Evas_List *l = NULL; Evas_List *l, *fl = NULL;
IBar_Icon *ic; IBar_Icon *ic;
ev = event_info; 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")) else if (!strcmp(type, "text/uri-list"))
{ {
l = ev->data; fl = ev->data;
} }
ic = inst->ibar->ic_drop_before; 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 (!ic) goto atend;
if (app) if (app)
e_app_list_prepend_relative(app, ic->app); e_app_list_prepend_relative(app, ic->app);
else if (l) else if (fl)
e_app_files_list_prepend_relative(l, ic->app); e_app_files_list_prepend_relative(fl, ic->app);
} }
else else
{ {
@ -1263,8 +1263,8 @@ _ibar_inst_cb_drop(void *data, const char *type, void *event_info)
{ {
if (app) if (app)
e_app_list_append(app, inst->ibar->apps); e_app_list_append(app, inst->ibar->apps);
else if (l) else if (fl)
e_app_files_list_append(l, inst->ibar->apps); e_app_files_list_append(fl, inst->ibar->apps);
} }
} }
clean: clean: