if the bg didn't change, keep the original desktop object instead of

creating a new one and deleting the old. (this prevents bg's with an initial
animation -- ala tokyo's detour bg -- from replaying the ani every desk
switch)


SVN revision: 15667
This commit is contained in:
rephorm 2005-07-08 04:33:02 +00:00 committed by rephorm
parent 51e72668af
commit 2946f2d71f
1 changed files with 2 additions and 1 deletions

View File

@ -101,7 +101,8 @@ e_bg_zone_update(E_Zone *zone, E_Bg_Transition transition)
if ((pfile) && (file) && (!strcmp(pfile, file)) &&
(pgroup) && (group) && (!strcmp(pgroup, group)))
{
evas_object_del(zone->prev_bg_object);
evas_object_del(zone->bg_object);
zone->bg_object = zone->prev_bg_object;
zone->prev_bg_object = NULL;
return;
}