summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-11 19:09:21 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-11 19:13:22 +0200
commitd1dc5badefd9205dcd73f48287d8c4482fa1f4f2 (patch)
tree0e5342e69cdb1c0c992abec31af81691bc45ba5b
parentff6b0eec83568fef1a9139ceb3c990c1745882d9 (diff)
elm_dnd: complete the list of causal text types
Differential Revision: https://phab.enlightenment.org/D11684
-rw-r--r--src/lib/elementary/elm_dnd.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_dnd.c b/src/lib/elementary/elm_dnd.c
index bc765fdbb6..243c1b8ce9 100644
--- a/src/lib/elementary/elm_dnd.c
+++ b/src/lib/elementary/elm_dnd.c
@@ -133,7 +133,11 @@ _format_to_mime_array(Elm_Sel_Format format)
133 Eina_Array *ret = eina_array_new(10); 133 Eina_Array *ret = eina_array_new(10);
134 134
135 if (format & ELM_SEL_FORMAT_TEXT) 135 if (format & ELM_SEL_FORMAT_TEXT)
136 eina_array_push(ret, "text/plain;charset=utf-8"); 136 {
137 eina_array_push(ret, "text/plain");
138 eina_array_push(ret, "text/plain;charset=utf-8");
139 eina_array_push(ret, "text/uri-list");
140 }
137 if (format & ELM_SEL_FORMAT_MARKUP) 141 if (format & ELM_SEL_FORMAT_MARKUP)
138 eina_array_push(ret, "application/x-elementary-markup"); 142 eina_array_push(ret, "application/x-elementary-markup");
139 if (format & ELM_SEL_FORMAT_IMAGE) 143 if (format & ELM_SEL_FORMAT_IMAGE)