diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-18 11:02:27 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-18 11:02:27 +0000 |
commit | 60e052cdf2bfd4aa1ebac0cbee1338ce7b3d0d6d (patch) | |
tree | 3cb80d5bb81037cef4a5d3f20cfb11a253d632f7 /perl-install | |
parent | 89f320b782551d53d7231cc863dfbf38fa26acff (diff) | |
download | drakx-60e052cdf2bfd4aa1ebac0cbee1338ce7b3d0d6d.tar drakx-60e052cdf2bfd4aa1ebac0cbee1338ce7b3d0d6d.tar.gz drakx-60e052cdf2bfd4aa1ebac0cbee1338ce7b3d0d6d.tar.bz2 drakx-60e052cdf2bfd4aa1ebac0cbee1338ce7b3d0d6d.tar.xz drakx-60e052cdf2bfd4aa1ebac0cbee1338ce7b3d0d6d.zip |
(create_widgets) fix doble clicking on 'accept' on license screen
(regression introduced when adding "install" buttons (aka release
notes, help...)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 332941de2..faebc3702 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- fix doble clicking on 'accept' on license screen + Version 12.15 - 17 March 2009 - fix support for iso-on-disk installation (#48661) diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index c4b89899f..50a7b5a4d 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -681,7 +681,7 @@ sub create_widgets { foreach (@all) { my $e = $_; #- for closures - if (@all == 1 || $e->{quit_if_double_click}) { + if ((grep { !$_->{install_button} && $_->{type} ne 'only_label' } @all) == 1 || $e->{quit_if_double_click}) { #- i'm the only one, double click means accepting $e->{quit_if_double_click_cooked} = sub { $_[1]->type =~ /^2/ && $ok_clicked->() }; } |