From: Thiep Ha Date: Wed, 29 May 2013 06:52:18 +0000 (+0900) Subject: [Entry] Add viewport, layout calculation when theme changes X-Git-Tag: accepted/tizen/20130927.071315^2~273 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c62212fa2a46722bd029a4d84194e7f3e7d818d7;p=profile%2Fmobile%2Felementary.git [Entry] Add viewport, layout calculation when theme changes Change-Id: I15b6322ce23ae733e707a619c1209f16d514ba98 --- diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c index 077f0fb..9accb72 100644 --- a/src/lib/elm_entry.c +++ b/src/lib/elm_entry.c @@ -1212,8 +1212,13 @@ _elm_entry_smart_theme(Evas_Object *obj) evas_event_thaw(evas_object_evas_get(obj)); evas_event_thaw_eval(evas_object_evas_get(obj)); - // TIZEN ONLY(130129) : Currently, for freezing cursor movement only. - edje_object_part_text_thaw(sd->entry_edje, "elm.text"); + // TIZEN ONLY + edje_object_part_text_thaw(sd->entry_edje, "elm.text"); //(130129) : Currently, for freezing cursor movement only. + if (!_elm_config->desktop_entry) + { + if (sd->region_get_job) ecore_job_del(sd->region_get_job); + sd->region_get_job = ecore_job_add(_region_get_job, obj); + } // evas_object_smart_callback_call(obj, SIG_THEME_CHANGED, NULL);