Remove all children from the notification groups when we remove them.
authorAndrew Ruthven <andrew@etc.gen.nz>
Tue, 23 Sep 2008 09:44:38 +0000 (21:44 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Tue, 23 Sep 2008 09:44:38 +0000 (21:44 +1200)
lib/Display/Notifications.pm

index c75819b..967dac9 100644 (file)
@@ -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()
     }
   }
 }