summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2014-03-15 15:36:41 +0900
committerChunEon Park <hermet@hermet.pe.kr>2014-03-15 15:48:46 +0900
commitfd423036fc63c963337b1a61de329017d245a3d8 (patch)
tree508264c47c70378356ec0542b76920f8c8c868c6
parent04788dec692be385f0ce3c0a13f0d439a6bea79e (diff)
entry - fixed calc issue of the wrap none mode.
This deferred recalc job is considered for wrap mode. if the wrap mode is disabled, this job should be discarded. since the wrap mode is enabled in default. the job would be performed even the wrap mode was changed later. @fix.
-rw-r--r--src/lib/elm_entry.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 4e386649d..de1b20f3e 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -3965,6 +3965,11 @@ _line_wrap_set(Eo *obj, void *_pd, va_list *list)
3965 if (sd->line_wrap == wrap) return; 3965 if (sd->line_wrap == wrap) return;
3966 sd->last_w = -1; 3966 sd->last_w = -1;
3967 sd->line_wrap = wrap; 3967 sd->line_wrap = wrap;
3968 if (wrap == ELM_WRAP_NONE)
3969 {
3970 ecore_job_del(sd->deferred_recalc_job);
3971 sd->deferred_recalc_job = NULL;
3972 }
3968 eo_do(obj, elm_wdg_theme_apply(NULL)); 3973 eo_do(obj, elm_wdg_theme_apply(NULL));
3969} 3974}
3970 3975