summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_widget_entry.h
diff options
context:
space:
mode:
authorThiep Ha <thiepha@gmail.com>2014-02-19 12:25:08 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-19 12:25:08 +0900
commit771887df2b0cbc2b4187efb669eb8e29772edc4f (patch)
tree5cdf6603f88c2eb96df4164f9e83d8cfd0ec2659 /legacy/elementary/src/lib/elm_widget_entry.h
parent8a312631e65955f0f8b45e9e2cef991a173ecc4d (diff)
[Dnd] Fix double text insert issue in elm_entry, drop at disable, non-editable entry
Summary: Issue 1: If you drop text to elm_entry, text is inserted twice. Reason: Drop callbacks are registered multiple times in elm_entry. Resolve: Register only one drop callback at entry side. Issue 2: Even thought entry is disabled, non-editable, you still can drop text, image file. (Example, run Entry Scrolled and drop text, image file to disabled or non-editable entries). Reason: Drop callback are registered but not remove when entry is set to disabled, non-editable mode. Resolve: Correct registering and removing drop callbacks in entry. Reviewers: JackDanielZ, raster Reviewed By: raster CC: woohyun Differential Revision: https://phab.enlightenment.org/D565
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/lib/elm_widget_entry.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/elementary/src/lib/elm_widget_entry.h b/legacy/elementary/src/lib/elm_widget_entry.h
index 3e6f78e..dabfde3 100644
--- a/legacy/elementary/src/lib/elm_widget_entry.h
+++ b/legacy/elementary/src/lib/elm_widget_entry.h
@@ -72,6 +72,7 @@ struct _Elm_Entry_Smart_Data
72 } anchor_hover; 72 } anchor_hover;
73 73
74 Elm_Cnp_Mode cnp_mode; 74 Elm_Cnp_Mode cnp_mode;
75 Elm_Sel_Format drop_format;
75 76
76 Eina_Bool input_panel_return_key_disabled : 1; 77 Eina_Bool input_panel_return_key_disabled : 1;
77 Eina_Bool drag_selection_asked : 1; 78 Eina_Bool drag_selection_asked : 1;