From 9cd2aac40e4703fcd7143dfc7af3e97bd47222b9 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 23 Nov 2013 02:04:10 +0100 Subject: workaround only first notification being displayed it looks like we only got the 'closed' signal if the user clicks on it (which is a spec violation: http://www.galago-project.org/specs/notification/0.9/x408.html#signal-notification-closed) --- perl-install/ugtk3.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/ugtk3.pm') diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm index b6992bdcf..ce2411820 100644 --- a/perl-install/ugtk3.pm +++ b/perl-install/ugtk3.pm @@ -1424,7 +1424,10 @@ sub process_next { sub add { my ($self, $info) = @_; push @{$self->{queue}}, $info; - @{$self->{queue}} == 1 and $self->show; + # We don't always receive the 'closed' signal (especially when not clicked) + # and in those case we'll never show the next notifications: + #@{$self->{queue}} == 1 and + $self->show; } sub show { -- cgit v1.2.1