summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-23 02:04:10 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:53:10 +0100
commit9cd2aac40e4703fcd7143dfc7af3e97bd47222b9 (patch)
tree2c301ce6f036366ab28eca6e1b86dfb72a9ff836
parentbd184e045143f7b8cdfa4fe518478cb4b2543194 (diff)
downloaddrakx-9cd2aac40e4703fcd7143dfc7af3e97bd47222b9.tar
drakx-9cd2aac40e4703fcd7143dfc7af3e97bd47222b9.tar.gz
drakx-9cd2aac40e4703fcd7143dfc7af3e97bd47222b9.tar.bz2
drakx-9cd2aac40e4703fcd7143dfc7af3e97bd47222b9.tar.xz
drakx-9cd2aac40e4703fcd7143dfc7af3e97bd47222b9.zip
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)
-rw-r--r--perl-install/ugtk3.pm5
1 files changed, 4 insertions, 1 deletions
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 {