In the double clicked callback, selection & copy paste UI is not needed.
test plan:
elm_entry_context_menu_disabled_set(entry, EINA_TRUE)
-> double click empty entry
-> cursor is disappeared (This commit fix to be shown)
@tizen_only
Change-Id: Ide70085a3deebc403259b5e3b967a32e23beef91
Signed-off-by: Jiwon Kim <jiwon177.kim@samsung.com>
(cherry picked from commit
917a717f057f51dad57445cb24550b5b2431d7ec)
const char *source EINA_UNUSED)
{
// TIZEN ONLY (20140205): Support CopyPaste UI
+ const char *text;
ELM_ENTRY_DATA_GET(data, sd);
if (sd->disabled) return; //???
- if (!_elm_config->desktop_entry)
+ text = edje_object_part_text_get(sd->entry_edje, "elm.text");
+
+ if ((!_elm_config->desktop_entry) &&
+ (text) && (text[0] != '\0'))
{
_cursor_down_pos_set(data);
_select_word(data, NULL, NULL);