summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm10
1 files changed, 3 insertions, 7 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index c643d089a..31e54b6f6 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1583,13 +1583,9 @@ sub show {
$self->{bubble}->signal_connect(clicked => sub {
$self->{bubble}->hide;
my $info = $self->{queue}[0];
- if ($info->{clicked}) {
- #- has to call process_next when done
- $info->{clicked}->();
- } else {
- $self->process_next;
- }
- });
+ #- has to call process_next when done
+ $info->{clicked}->();
+ }) if $self->{queue}[0]{clicked};
$self->{bubble}->signal_connect(closed => sub {
my $info = $self->{queue}[0];
$info->{timeout}->() if $info->{timeout};