[3.0] Fixed not to display mark-up text for copied text from calculator 08/113408/2 accepted/tizen/3.0/common/20170209.112900 accepted/tizen/3.0/ivi/20170209.033346 accepted/tizen/3.0/mobile/20170209.033131 accepted/tizen/3.0/tv/20170209.033240 accepted/tizen/3.0/wearable/20170209.033308 submit/tizen_3.0/20170208.080243
authorsuhyung Eom <suhyung.eom@samsung.com>
Tue, 7 Feb 2017 10:35:01 +0000 (19:35 +0900)
committersu hyung Eom <suhyung.eom@samsung.com>
Tue, 7 Feb 2017 10:36:47 +0000 (02:36 -0800)
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I15c036f17b21350e58f8aab374abb4412600a8a2

adaptors/ecore/wayland/clipboard-impl-ecore-wl.cpp

index 6f99055..695889c 100644 (file)
@@ -99,8 +99,6 @@ struct Clipboard::Impl
     // ELM_SEL_TYPE_CLIPBOARD - To distinguish clipboard selection in cbhm
     types[++i] = "CLIPBOARD_BEGIN";
 
     // ELM_SEL_TYPE_CLIPBOARD - To distinguish clipboard selection in cbhm
     types[++i] = "CLIPBOARD_BEGIN";
 
-    types[++i] = "application/x-elementary-markup";
-    types[++i] = "text/plain";
     types[++i] = "text/plain;charset=utf-8";
 
     // ELM_SEL_TYPE_CLIPBOARD - To distinguish clipboard selection in cbhm
     types[++i] = "text/plain;charset=utf-8";
 
     // ELM_SEL_TYPE_CLIPBOARD - To distinguish clipboard selection in cbhm
@@ -113,8 +111,6 @@ struct Clipboard::Impl
     const char *types[10] = {0, };
     int i = -1;
 
     const char *types[10] = {0, };
     int i = -1;
 
-    types[++i] = "application/x-elementary-markup";
-    types[++i] = "text/plain";
     types[++i] = "text/plain;charset=utf-8";
     ecore_wl_dnd_selection_get(ecore_wl_input_get(), *types);
   }
     types[++i] = "text/plain;charset=utf-8";
     ecore_wl_dnd_selection_get(ecore_wl_input_get(), *types);
   }