From ff561b69cae36aaabdbcb576b38e990a47fcea7d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 18 Mar 2009 13:35:12 +0000 Subject: (create_widgets) explain latest commit --- perl-install/interactive/gtk.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/interactive/gtk.pm') diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index 50a7b5a4d..c144700de 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -681,6 +681,7 @@ sub create_widgets { foreach (@all) { my $e = $_; #- for closures + # we only consider real widgets (aka ignoring labels and Help/Release Notes/... buttons): 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->() }; -- cgit v1.2.1