elm_cnp: support text/uri-list type for _wl_elm_cnp_selection_get 17/103417/1
authorTaehyub Kim <taehyub.kim@samsung.com>
Thu, 8 Dec 2016 08:39:22 +0000 (17:39 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Thu, 8 Dec 2016 08:39:22 +0000 (17:39 +0900)
Change-Id: If0c0114d9b535e255887cb7d755ba23660b89655

src/lib/elm_cnp.c

index aadc463..388a2a0 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);