forked from enlightenment/efl
Efreet: Make sure we don't reset changed
SVN revision: 57575
This commit is contained in:
parent
c45d4c937d
commit
f77442595d
|
@ -851,8 +851,10 @@ main(int argc, char **argv)
|
||||||
free(keys);
|
free(keys);
|
||||||
}
|
}
|
||||||
|
|
||||||
changed = theme->changed = check_changed(theme);
|
theme->changed = check_changed(theme);
|
||||||
if (theme->changed && theme->dirs)
|
if (theme->changed)
|
||||||
|
changed = EINA_TRUE;
|
||||||
|
if (changed && theme->dirs)
|
||||||
{
|
{
|
||||||
efreet_hash_free(theme->dirs, free);
|
efreet_hash_free(theme->dirs, free);
|
||||||
theme->dirs = NULL;
|
theme->dirs = NULL;
|
||||||
|
@ -882,7 +884,7 @@ main(int argc, char **argv)
|
||||||
eina_hash_free(themes);
|
eina_hash_free(themes);
|
||||||
eina_hash_free(icons);
|
eina_hash_free(icons);
|
||||||
|
|
||||||
if (theme->changed || changed)
|
if (changed)
|
||||||
{
|
{
|
||||||
if (theme->changed && verbose)
|
if (theme->changed && verbose)
|
||||||
fprintf(stderr, "theme change: %s %lld\n", theme->theme.name.internal, theme->last_cache_check);
|
fprintf(stderr, "theme change: %s %lld\n", theme->theme.name.internal, theme->last_cache_check);
|
||||||
|
@ -937,7 +939,7 @@ main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
theme->changed = changed;
|
theme->changed = changed;
|
||||||
if (theme->changed && theme->dirs)
|
if (changed && theme->dirs)
|
||||||
{
|
{
|
||||||
efreet_hash_free(theme->dirs, free);
|
efreet_hash_free(theme->dirs, free);
|
||||||
theme->dirs = NULL;
|
theme->dirs = NULL;
|
||||||
|
|
Loading…
Reference in New Issue