elm_cnp: support text/uri-list type for _wl_elm_cnp_selection_get
authorTaehyub Kim <taehyub.kim@samsung.com>
Thu, 8 Dec 2016 08:39:22 +0000 (17:39 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Mon, 2 Jan 2017 05:37:05 +0000 (14:37 +0900)
Change-Id: If0c0114d9b535e255887cb7d755ba23660b89655

src/lib/elm_cnp.c

index aadc463ee8595487d02e70956e8e09c1477f3d18..388a2a0d8c17f61d14ba5ce2896a623df369b4a6 100644 (file)
@@ -3115,6 +3115,11 @@ _wl_elm_cnp_selection_get(const Evas_Object *obj, Elm_Sel_Type selection, Elm_Se
              types[++i] = "text/html";
           }
 
+        if (format & ELM_SEL_FORMAT_IMAGE)
+          {
+             types[++i] = "text/uri-list";
+          }
+
         if (i < 0) return EINA_FALSE;
 
         ecore_wl_dnd_selection_get(ecore_wl_input_get(), *types);