devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=24219081c697a7badf59c460476fdcd66c67f711

commit 24219081c697a7badf59c460476fdcd66c67f711
Author: Marcel Hollerbach <[email protected]>
Date:   Sat Apr 11 19:09:21 2020 +0200

    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 <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11684
---
 src/lib/elementary/elm_dnd.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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)
    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)

-- 


Reply via email to