summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-11 19:09:21 +0200
committerChristopher Michael <devilhorns@comcast.net>2020-04-14 11:59:41 -0400
commit24219081c697a7badf59c460476fdcd66c67f711 (patch)
tree0f7f9816e3016b2905a111b736fadc6ccdf6f4e9 /src/lib
parent9b6909601d049c2195ee33b78630c850d502f88f (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. Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11684
Diffstat (limited to 'src/lib')
-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 891fe4da92..0dd5d68c94 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)