]> git.etc.gen.nz Git - picture-display.git/commitdiff
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 c75819b9541042759a248f012bc4607f9ad44dd6..967dac943fcc585631fa606cffa9abcd8043affe 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()
     }
   }
 }