projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d718b0
)
elementary/ctxpopup - disable the contents when they are exist.
author
ChunEon Park
<hermet@hermet.pe.kr>
Fri, 13 Dec 2013 02:21:08 +0000
(11:21 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Fri, 13 Dec 2013 02:21:08 +0000
(11:21 +0900)
src/lib/elc_ctxpopup.c
patch
|
blob
|
history
diff --git
a/src/lib/elc_ctxpopup.c
b/src/lib/elc_ctxpopup.c
index
f0db8a2
..
7e53a02
100644
(file)
--- a/
src/lib/elc_ctxpopup.c
+++ b/
src/lib/elc_ctxpopup.c
@@
-1109,8
+1109,10
@@
_elm_ctxpopup_smart_disable(Eo *obj, void *_pd, va_list *list)
eo_do_super(obj, MY_CLASS, elm_wdg_disable(&int_ret));
if (!int_ret) return;
-
- elm_object_disabled_set(sd->list, elm_widget_disabled_get(obj));
+ if (sd->list)
+ elm_object_disabled_set(sd->list, elm_widget_disabled_get(obj));
+ else if (sd->content)
+ elm_object_disabled_set(sd->list, elm_widget_disabled_get(obj));
if (ret) *ret = EINA_TRUE;
}