From 926e0acc3228c896b20f6371bed26e8f3bcaf23a Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Tue, 23 Sep 2008 21:44:38 +1200 Subject: [PATCH] Remove all children from the notification groups when we remove them. --- lib/Display/Notifications.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Display/Notifications.pm b/lib/Display/Notifications.pm index c75819b..967dac9 100644 --- a/lib/Display/Notifications.pm +++ b/lib/Display/Notifications.pm @@ -80,6 +80,8 @@ sub post_fade_out { if ($block->{'expire'} <= time()) { $self->{'stage'}->remove($block->{'block'}); $self->{'blocks'}->remove($block); + + $block->{'block'}->remove_all() } } } -- 2.30.2