projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d9a19a
)
Popup: don't set wrap type if ELM_WRAP_NONE is given
author
Daniel Zaoui
<daniel.zaoui@samsung.com>
Tue, 5 Apr 2016 05:39:26 +0000
(08:39 +0300)
committer
Daniel Zaoui
<daniel.zaoui@samsung.com>
Tue, 5 Apr 2016 05:43:35 +0000
(08:43 +0300)
If ELM_WRAP_NONE is forbidden, the internal variable should not be set
if this value is given as parameter.
src/lib/elementary/elc_popup.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elc_popup.c
b/src/lib/elementary/elc_popup.c
index
054d219
..
2ac88a4
100644
(file)
--- a/
src/lib/elementary/elc_popup.c
+++ b/
src/lib/elementary/elc_popup.c
@@
-1607,7
+1607,7
@@
EOLIAN static void
_elm_popup_content_text_wrap_type_set(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd, Elm_Wrap_Type wrap)
{
//Need to wrap the content text, so not allowing ELM_WRAP_NONE
- if (
sd->content_text_wrap_type
== ELM_WRAP_NONE) return;
+ if (
wrap
== ELM_WRAP_NONE) return;
sd->content_text_wrap_type = wrap;
if (sd->text_content_obj)