elm_dnd: complete the list of text types

the text types added here were present as "TEXT" in selection manager,
so add them here again.

Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D11684
This commit is contained in:
Marcel Hollerbach 2020-04-11 19:09:21 +02:00 committed by Christopher Michael
parent 9b6909601d
commit 24219081c6
1 changed files with 5 additions and 1 deletions

View File

@ -133,7 +133,11 @@ _format_to_mime_array(Elm_Sel_Format format)
Eina_Array *ret = eina_array_new(10);
if (format & ELM_SEL_FORMAT_TEXT)
eina_array_push(ret, "text/plain;charset=utf-8");
{
eina_array_push(ret, "text/plain");
eina_array_push(ret, "text/plain;charset=utf-8");
eina_array_push(ret, "text/uri-list");
}
if (format & ELM_SEL_FORMAT_MARKUP)
eina_array_push(ret, "application/x-elementary-markup");
if (format & ELM_SEL_FORMAT_IMAGE)