Remove the check to see if its the current theme, just check for the group

existing.


SVN revision: 32083
This commit is contained in:
Christopher Michael 2007-10-15 19:14:53 +00:00
parent f3b6e167e9
commit 7badfbfdb0
1 changed files with 0 additions and 6 deletions

View File

@ -486,13 +486,7 @@ e_theme_handler_set(Evas_Object *obj, const char *path, void *data)
EAPI int
e_theme_handler_test(Evas_Object *obj, const char *path, void *data)
{
E_Config_Theme *ct;
if (!path) return 0;
/* test is this theme is already set */
ct = e_theme_config_get("theme");
if ((ct) && (!strcmp(ct->file, path))) return 0;
if (!edje_file_group_exists(path, "e/widgets/border/default/border"))
return 0;
return 1;