--- /dev/null
+package Display::Plugins::NotifyTest;
+
+# Regularly generic notifications for testing code.
+
+use Clutter;
+use POE::Session;
+use base ('Display::Plugins');
+use strict;
+
+my $delay = 5;
+
+sub new {
+ my $proto = shift;
+ my $class = ref($proto) || $proto;
+
+ my $self = $class->SUPER::new(@_);
+
+ $self->{'count'} = 0;
+
+ bless ($self, $class);
+ $self->{'kernel'}->state('notifytest_display', $self, 'display');
+ $self->init_delay($delay, 'notifytest_display');
+ $self->{'kernel'}->yield('notifytest_display');
+ return $self;
+}
+
+sub display {
+ my ($self, $kernel) = @_[OBJECT, KERNEL];
+
+ my $text = Clutter::Label->new('Sans 20', "Notify " . ++$self->{'count'});
+ $text->set_color(Clutter::Color->parse('White'));
+ $text->set_ellipsize('end');
+
+ $kernel->yield('notifications_add', $text);
+
+ $self->delay();
+}
+
+1;