diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-18 13:35:12 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-18 13:35:12 +0000 |
commit | ff561b69cae36aaabdbcb576b38e990a47fcea7d (patch) | |
tree | 5ae01ac3e36ebdf8c0e195aac6838a1db62d536b | |
parent | 6b23fbb20c0efec38180b96db9c43d85ecfb161a (diff) | |
download | drakx-ff561b69cae36aaabdbcb576b38e990a47fcea7d.tar drakx-ff561b69cae36aaabdbcb576b38e990a47fcea7d.tar.gz drakx-ff561b69cae36aaabdbcb576b38e990a47fcea7d.tar.bz2 drakx-ff561b69cae36aaabdbcb576b38e990a47fcea7d.tar.xz drakx-ff561b69cae36aaabdbcb576b38e990a47fcea7d.zip |
(create_widgets) explain latest commit
-rw-r--r-- | perl-install/interactive/gtk.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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->() }; |