make theme setting work again :)

SVN revision: 68707
This commit is contained in:
Carsten Haitzler 2012-03-05 12:39:22 +00:00
parent 0f8ce855bc
commit e2d7f4335a
1 changed files with 2 additions and 1 deletions

View File

@ -475,6 +475,8 @@ elm_theme_set(Elm_Theme *th, const char *theme)
th->theme = NULL;
}
elm_theme_flush(th);
if (th == &(theme_default))
eina_stringshare_replace(&_elm_config->theme, theme);
}
EAPI const char *
@ -597,7 +599,6 @@ elm_theme_full_flush(void)
EINA_DEPRECATED EAPI void
elm_theme_all_set(const char *theme)
{
eina_stringshare_replace(&_elm_config->theme, theme);
elm_theme_set(NULL, theme);
elm_config_all_flush();
}