From: ChunEon Park <chuneon.park@samsung.com>

Subject: [E-devel] [PATCH] elc_ctxpopup

only set style on scroller if it exists.



SVN revision: 56578
This commit is contained in:
ChunEon Park 2011-01-31 08:47:19 +00:00 committed by Carsten Haitzler
parent 7b67483821
commit 4c33d6b63e
1 changed files with 8 additions and 5 deletions

View File

@ -676,11 +676,14 @@ _theme_hook(Evas_Object *obj)
_elm_theme_object_set(obj, wd->arrow, "ctxpopup", "arrow",
elm_widget_style_get(obj));
if (!strncmp(elm_object_style_get(obj), "default",
strlen("default")))
elm_object_style_set(wd->scr, "ctxpopup");
else
elm_object_style_set(wd->scr, elm_object_style_get(obj));
if (wd->scr)
{
if (!strncmp(elm_object_style_get(obj), "default",
strlen("default")))
elm_object_style_set(wd->scr, "ctxpopup");
else
elm_object_style_set(wd->scr, elm_object_style_get(obj));
}
if (wd->visible)
{