diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-14 17:50:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-14 17:50:31 +0000 |
commit | 934caed10a22f1e0d7ae529f8c67e6b4a6f51ff4 (patch) | |
tree | 475b7d464eb5fa57b251d21019f7ead0d6f5be92 /perl-install/wizards.pm | |
parent | 37fba9470218838f651b43cf24eceb3f389b35cd (diff) | |
download | drakx-934caed10a22f1e0d7ae529f8c67e6b4a6f51ff4.tar drakx-934caed10a22f1e0d7ae529f8c67e6b4a6f51ff4.tar.gz drakx-934caed10a22f1e0d7ae529f8c67e6b4a6f51ff4.tar.bz2 drakx-934caed10a22f1e0d7ae529f8c67e6b4a6f51ff4.tar.xz drakx-934caed10a22f1e0d7ae529f8c67e6b4a6f51ff4.zip |
using box radio looks better for yes/no like questions
Diffstat (limited to 'perl-install/wizards.pm')
-rw-r--r-- | perl-install/wizards.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/wizards.pm b/perl-install/wizards.pm index 9f0ea066a..9fdc33a1e 100644 --- a/perl-install/wizards.pm +++ b/perl-install/wizards.pm @@ -154,7 +154,7 @@ sub process { my $name = ref($page->{name}) ? $page->{name}->() : $page->{name}; my %yesno = (yes => N("Yes"), no => N("No")); my $yes; - $data2 = [ { val => \$yes, type => 'list', list => [ values %yesno ] } ] if $page->{type} eq "yesorno"; + $data2 = [ { val => \$yes, type => 'list', list => [ values %yesno ], gtk => { use_boxradio => 1 } } ] if $page->{type} eq "yesorno"; my $a = $in->ask_from_({ title => $o->{name}, messages => $name, callbacks => { map { $_ => $page->{$_} || $default_callback{$_} } qw(focus_out complete) }, |