summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2009-05-14 00:50:56 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2009-05-14 00:50:56 +0000
commit2008cf8543126df42dacf0ed7e4860d961b41e96 (patch)
tree6713096778ea7ae169249d85ae111cbc97345be9 /perl-install
parent0a0cb2468189f6a08d843859c4cf735792285dca (diff)
downloaddrakx-backup-do-not-use-2008cf8543126df42dacf0ed7e4860d961b41e96.tar
drakx-backup-do-not-use-2008cf8543126df42dacf0ed7e4860d961b41e96.tar.gz
drakx-backup-do-not-use-2008cf8543126df42dacf0ed7e4860d961b41e96.tar.bz2
drakx-backup-do-not-use-2008cf8543126df42dacf0ed7e4860d961b41e96.tar.xz
drakx-backup-do-not-use-2008cf8543126df42dacf0ed7e4860d961b41e96.zip
Added support for toggling 'hidden' parameter on widgets.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/interactive/gtk.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 4e0812597..51a43a9a6 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,4 @@
+- added support for toggling 'hidden' parameter on widgets.
- ide-disk module is now named ide-gd_mod
- add new 'touchpad' TYPE to rpmsrate
- add support for ElanTech touchpads (found on EEEPCs)
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index c144700de..5b9200ed8 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -661,6 +661,7 @@ sub create_widgets {
my @all = all_entries($l);
$_->{set}->(${$_->{val}}, $_) foreach @all; #- nb: the parameter "$_" is needed for create_boxradio
$_->{disabled} and $_->{real_w}->set_sensitive(!$_->{disabled}()) foreach @all;
+ $_->{hidden} and $_->{w}->set_visibility(!$_->{hidden}()) foreach @all;
$mainw->{ok}->set_sensitive(!$common->{ok_disabled}()) if $common->{ok_disabled};
$ignore = 0;
};