and allow sinstantaneous programs to have afters too...

SVN revision: 7299
This commit is contained in:
Carsten Haitzler 2003-08-08 07:45:39 +00:00
parent bab34b26f2
commit c42a22301b
1 changed files with 8 additions and 0 deletions

View File

@ -394,6 +394,14 @@ _edje_program_run(Edje *ed, Edje_Program *pr, int force)
}
_edje_emit(ed, "program,start", pr->name);
_edje_emit(ed, "program,stop", pr->name);
if (pr->after >= 0)
{
Edje_Program *pr;
pr = evas_list_nth(ed->collection->programs,
pr->after);
if (pr) _edje_program_run(ed, pr, 0);
}
_edje_recalc(ed);
}
}