summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_text.c7
-rw-r--r--src/lib/elementary/elm_entry.c6
2 files changed, 3 insertions, 10 deletions
diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c
index c908bedd77..1875e722a6 100644
--- a/src/lib/elementary/efl_ui_text.c
+++ b/src/lib/elementary/efl_ui_text.c
@@ -930,13 +930,6 @@ _efl_ui_text_elm_widget_theme_apply(Eo *obj, Efl_Ui_Text_Data *sd)
930 elm_widget_theme_object_set 930 elm_widget_theme_object_set
931 (obj, sd->entry_edje, "efl_ui_text", _efl_ui_text_theme_group_get(obj), style); 931 (obj, sd->entry_edje, "efl_ui_text", _efl_ui_text_theme_group_get(obj), style);
932 932
933 if (sd->sel_allow && _elm_config->desktop_entry)
934 edje_obj_part_text_select_allow_set
935 (sd->entry_edje, "elm.text", EINA_TRUE);
936 else
937 edje_obj_part_text_select_allow_set
938 (sd->entry_edje, "elm.text", EINA_FALSE);
939
940 if (elm_widget_disabled_get(obj)) 933 if (elm_widget_disabled_get(obj))
941 edje_object_signal_emit(sd->entry_edje, "elm,state,disabled", "elm"); 934 edje_object_signal_emit(sd->entry_edje, "elm,state,disabled", "elm");
942 935
diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c
index 822cd68ea0..a1a6896c3b 100644
--- a/src/lib/elementary/elm_entry.c
+++ b/src/lib/elementary/elm_entry.c
@@ -886,10 +886,10 @@ _elm_entry_elm_widget_theme_apply(Eo *obj, Elm_Entry_Data *sd)
886 (obj, sd->entry_edje, "entry", _elm_entry_theme_group_get(obj), style); 886 (obj, sd->entry_edje, "entry", _elm_entry_theme_group_get(obj), style);
887 887
888 if (sd->sel_allow && _elm_config->desktop_entry) 888 if (sd->sel_allow && _elm_config->desktop_entry)
889 edje_obj_part_text_select_allow_set 889 edje_object_part_text_select_allow_set
890 (sd->entry_edje, "elm.text", EINA_TRUE); 890 (sd->entry_edje, "elm.text", EINA_TRUE);
891 else 891 else
892 edje_obj_part_text_select_allow_set 892 edje_object_part_text_select_allow_set
893 (sd->entry_edje, "elm.text", EINA_FALSE); 893 (sd->entry_edje, "elm.text", EINA_FALSE);
894 894
895 edje_object_part_text_style_user_push(sd->entry_edje, "elm.text", stl_user); 895 edje_object_part_text_style_user_push(sd->entry_edje, "elm.text", stl_user);
@@ -5449,7 +5449,7 @@ _elm_entry_select_allow_set(Eo *obj EINA_UNUSED, Elm_Entry_Data *sd, Eina_Bool a
5449 if (sd->sel_allow == allow) return; 5449 if (sd->sel_allow == allow) return;
5450 sd->sel_allow = allow; 5450 sd->sel_allow = allow;
5451 5451
5452 edje_obj_part_text_select_allow_set(sd->entry_edje, "elm.text", allow); 5452 edje_object_part_text_select_allow_set(sd->entry_edje, "elm.text", allow);
5453} 5453}
5454 5454
5455EOLIAN static Eina_Bool 5455EOLIAN static Eina_Bool