forked from enlightenment/efl
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:
parent
9b6909601d
commit
24219081c6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue