forked from enlightenment/efl
Autoload modules for external widgets
Patch by Fabiano Fidencio SVN revision: 43951
This commit is contained in:
parent
f4e1c3a9b9
commit
9892926bdf
|
@ -517,6 +517,7 @@ New_Object_Handler object_handlers[] =
|
|||
{"spectra", NULL},
|
||||
{"spectra.spectrum", ob_spectrum},
|
||||
{"collections", ob_collections},
|
||||
{"collections.externals", NULL}, /* dup */
|
||||
{"collections.images", NULL}, /* dup */
|
||||
{"collections.fonts", NULL}, /* dup */
|
||||
{"collections.styles", NULL}, /* dup */
|
||||
|
@ -527,6 +528,7 @@ New_Object_Handler object_handlers[] =
|
|||
{"collections.group.data", NULL},
|
||||
{"collections.group.script", ob_collections_group_script},
|
||||
{"collections.group.lua_script", ob_collections_group_lua_script},
|
||||
{"collections.group.externals", NULL}, /* dup */
|
||||
{"collections.group.images", NULL}, /* dup */
|
||||
{"collections.group.fonts", NULL}, /* dup */
|
||||
{"collections.group.styles", NULL}, /* dup */
|
||||
|
|
|
@ -307,6 +307,17 @@ _edje_object_file_set_internal(Evas_Object *obj, const char *file, const char *g
|
|||
ed->load_error = EDJE_LOAD_ERROR_NONE;
|
||||
_edje_file_add(ed);
|
||||
|
||||
if (ed->file->external_dir)
|
||||
{
|
||||
const Edje_External_Directory_Entry *ext;
|
||||
const Eina_List *n;
|
||||
|
||||
EINA_LIST_FOREACH(ed->file->external_dir->entries, n, ext)
|
||||
{
|
||||
edje_module_load(ext->entry);
|
||||
}
|
||||
}
|
||||
|
||||
_edje_textblock_styles_add(ed);
|
||||
_edje_textblock_style_all_update(ed);
|
||||
|
||||
|
|
Loading…
Reference in New Issue