summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-28 15:25:48 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-28 15:25:48 +0000
commit0e32cf0bca437f291a60dba07180a78e7f04e419 (patch)
tree2367c5f085e57a42b2f25d7bb83203e922aa63fb /perl-install/interactive/gtk.pm
parent0fcca9b1f865c7474011762cadcd6eba2d4fa621 (diff)
downloaddrakx-backup-do-not-use-0e32cf0bca437f291a60dba07180a78e7f04e419.tar
drakx-backup-do-not-use-0e32cf0bca437f291a60dba07180a78e7f04e419.tar.gz
drakx-backup-do-not-use-0e32cf0bca437f291a60dba07180a78e7f04e419.tar.bz2
drakx-backup-do-not-use-0e32cf0bca437f291a60dba07180a78e7f04e419.tar.xz
drakx-backup-do-not-use-0e32cf0bca437f291a60dba07180a78e7f04e419.zip
add {callbacks}{advanced}, called when "Advance" button is pressed
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index 106df7706..3fb7fd02a 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -508,8 +508,9 @@ sub ask_fromW {
my $set_advanced = sub {
($advanced) = @_;
$set_default_size->() if $advanced;
+ $update->($common->{callbacks}{advanced}) if $advanced;
$advanced ? $advanced_pack->show : $advanced_pack->hide;
- @widgets = (@widgets_always, $advanced ? @widgets_advanced : ());
+ @widgets = (@widgets_always, if_($advanced, @widgets_advanced));
$mainw->sync; #- for $set_all below (mainly for the set of clist)
$set_all->(); #- must be done when showing advanced lists (to center selected value)
};