summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-14 15:31:14 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-14 15:31:14 +0000
commitb535923aff925988dc07a25e96073f5b589d7650 (patch)
tree63fcd97c9a7deeda8b55c21b471c13f9a5a0f9cb /perl-install
parent28bf5e837eafc9cfa913d808eb189676739aedab (diff)
downloaddrakx-b535923aff925988dc07a25e96073f5b589d7650.tar
drakx-b535923aff925988dc07a25e96073f5b589d7650.tar.gz
drakx-b535923aff925988dc07a25e96073f5b589d7650.tar.bz2
drakx-b535923aff925988dc07a25e96073f5b589d7650.tar.xz
drakx-b535923aff925988dc07a25e96073f5b589d7650.zip
do not make clicked have a default action
Diffstat (limited to 'perl-install')
-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};