summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-02-07 14:13:46 +0000
committerTom Hacohen <tom@stosb.com>2014-02-07 14:22:37 +0000
commit3902d1697e7111b5bbc327c789b8828a59653623 (patch)
treeb129ac9fb5942f7c0696dcc70f1599c09ab99016
parentcf353b5542167c5bcd8a2def8f8e488e93bc865b (diff)
Elm entry: Set initial select mode for non desktop entries.
Initial select mode was not properly set, as was just left to default. This, in combination with the following from the efl repo: commit 211845c8851dc48b54824082a63ead6aa98363b9 commit c061e7692793740cc363478586e4e062a6b2d7a4 fixes T861.
-rw-r--r--src/lib/elm_entry.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 078ad9b51..57bc3176f 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -573,9 +573,8 @@ _elm_entry_smart_theme(Eo *obj, void *_pd, va_list *list)
573 elm_widget_theme_object_set 573 elm_widget_theme_object_set
574 (obj, sd->entry_edje, "entry", _elm_entry_theme_group_get(obj), style); 574 (obj, sd->entry_edje, "entry", _elm_entry_theme_group_get(obj), style);
575 575
576 if (_elm_config->desktop_entry) 576 edje_object_part_text_select_allow_set
577 edje_object_part_text_select_allow_set 577 (sd->entry_edje, "elm.text", _elm_config->desktop_entry);
578 (sd->entry_edje, "elm.text", EINA_TRUE);
579 578
580 elm_object_text_set(obj, t); 579 elm_object_text_set(obj, t);
581 eina_stringshare_del(t); 580 eina_stringshare_del(t);