diff options
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/interactive/gtk.pm | 1 |
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; }; |