add fallback loading of default theme on init

this should fix cases where whatever the user-set theme is doesn't provide
a required group by filling it in

fix T2210
This commit is contained in:
Mike Blumenkrantz 2015-07-29 17:41:21 -04:00
parent a131165174
commit b5e28c8885
1 changed files with 2 additions and 0 deletions

View File

@ -438,6 +438,8 @@ main(int argc, char **argv)
e_error_message_show(_("Enlightenment cannot initialize Elementary!\n"));
_e_main_shutdown(-1);
}
if (e_util_strcmp(elm_theme_get(NULL), "default"))
elm_theme_extension_add(NULL, "default");
TS("Elementary Init Done");
_e_main_shutdown_push(elm_shutdown);