From: Jihoon Kim Date: Tue, 29 Nov 2016 01:23:42 +0000 (+0900) Subject: Disable images in clipboard X-Git-Tag: accepted/tizen/3.0/common/20161130.065044~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97bf5af238205c2aa158be813f495994f5f4b09c;p=platform%2Fcore%2Fuifw%2Fise-default.git Disable images in clipboard Change-Id: I536aaf31f0739d59893d93f0fa92a3aa2b88e618 Signed-off-by: Jihoon Kim --- diff --git a/src/ise.cpp b/src/ise.cpp index 164ab96..bb48da5 100644 --- a/src/ise.cpp +++ b/src/ise.cpp @@ -905,9 +905,14 @@ on_input_mode_changed(const sclchar *key_value, sclulong key_event, sclint key_t static void show_cbhm() { #ifdef HAVE_CBHM - int cbhm_ret = cbhm_show(cbhm_handle); - if (cbhm_ret != CBHM_ERROR_NONE) - LOGW("cbhm show error : %d\n", cbhm_ret); + int ret; + ret = cbhm_selection_type_set(cbhm_handle, CBHM_SEL_TYPE_TEXT); + if (ret != CBHM_ERROR_NONE) + LOGW("Failed to set selection type in cbhm. error : %d\n", ret); + + ret = cbhm_show(cbhm_handle); + if (ret != CBHM_ERROR_NONE) + LOGW("cbhm show error : %d\n", ret); else LOGD("Show cbhm\n"); #endif