E: Fix up ilist_custom_edje set to properly set theme for scrollframe

also.



SVN revision: 76815
This commit is contained in:
Christopher Michael 2012-09-18 12:52:38 +00:00
parent cbb742a7cc
commit 13615eaba8
1 changed files with 3 additions and 2 deletions

View File

@ -1012,14 +1012,15 @@ EAPI Eina_Bool
e_widget_ilist_custom_edje_file_set(Evas_Object *obj, const char *file, const char *group)
{
E_Widget_Data *wd;
char buf[1024];
wd = e_widget_data_get(obj);
if (!wd) return EINA_FALSE;
if (group)
{
char buf[1024];
snprintf(buf, sizeof(buf), "%s/scrollframe", group);
e_scrollframe_custom_edje_file_set(wd->o_scrollframe, file, group);
e_scrollframe_custom_edje_file_set(wd->o_scrollframe, file, buf);
}
return e_ilist_custom_edje_file_set(wd->o_ilist, file, group);
}