summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-08-19 15:27:51 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-08-19 15:27:51 +0000
commite24dd7f143e1450c8ab9d6099ec683163db3fe78 (patch)
tree0c1c65d4f7998a0529a5554db65d4ba18d3d6998
parent4cb60e255665aef6b3a351f3d659f1d826fa9621 (diff)
downloaddrakx-e24dd7f143e1450c8ab9d6099ec683163db3fe78.tar
drakx-e24dd7f143e1450c8ab9d6099ec683163db3fe78.tar.gz
drakx-e24dd7f143e1450c8ab9d6099ec683163db3fe78.tar.bz2
drakx-e24dd7f143e1450c8ab9d6099ec683163db3fe78.tar.xz
drakx-e24dd7f143e1450c8ab9d6099ec683163db3fe78.zip
show advanced options by default if --expert was passed or if expect
checkbox was checked (#4353)
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 31d828c9c..2031acafa 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -661,7 +661,7 @@ sub ask_fromW {
}
gtkadd($mainw->{window}, $pack);
$set_default_size->() if $has_scroll_always;
- $set_advanced->($common->{advanced_state});
+ $set_advanced->($common->{advanced_state} || $::expert);
my $widget_to_focus =
$common->{focus_cancel} ? $mainw->{cancel} :