~helene-verhaeghe27/cairo-dock-core/bugfix

« back to all changes in this revision

Viewing changes to src/gldit/cairo-dock-animations.c

  • Committer: Fabrice Rey
  • Date: 2012-08-10 22:13:06 UTC
  • Revision ID: fabounet03@gmail.com-20120810221306-9khetlyz3aiwae6d
Animations: fixed a bug that prevented the animation to be triggered when an icon was removed

Show diffs side-by-side

added added

removed removed

Lines of Context:
401
401
                cairo_dock_redraw_container (CAIRO_CONTAINER (pDock));
402
402
        }
403
403
        
404
 
        if (pIcon->fInsertRemoveFactor == 0 || ! pIcon->bBeingRemovedByCairo)
 
404
        if (pIcon->fInsertRemoveFactor == 0)
 
405
                pIcon->bBeingRemovedByCairo = FALSE;
 
406
        if (! pIcon->bBeingRemovedByCairo)
405
407
                return CAIRO_DOCK_LET_PASS_NOTIFICATION;
406
408
        
407
409
        cairo_dock_update_removing_inserting_icon_size_default (pIcon);