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-14 11:54:59 +0200
commit8ad6a7e014528aa15a223c5cbe7545fbbcfa7359 (patch)
tree75eac7b291eeaff25fa3cdcfc5b224a4e2be13d3
parent74f109e64391d8e7a084f7c9f1d5e937bc377be1 (diff)
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. 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)