diff options
author | Thierry Vignaud <tv@mandriva.org> | 2010-01-18 16:02:48 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2010-01-18 16:02:48 +0000 |
commit | 503777c643d4ac2875341df39517c7879d1e155f (patch) | |
tree | 6e1f918f53245a2801587f778f539e282f231e51 | |
parent | b5c6de14d35ba790b543f5fe31bea669288f778f (diff) | |
download | mgaonline-503777c643d4ac2875341df39517c7879d1e155f.tar mgaonline-503777c643d4ac2875341df39517c7879d1e155f.tar.gz mgaonline-503777c643d4ac2875341df39517c7879d1e155f.tar.bz2 mgaonline-503777c643d4ac2875341df39517c7879d1e155f.tar.xz mgaonline-503777c643d4ac2875341df39517c7879d1e155f.zip |
(configure) hide non available options instead of making them
insensitive (#56637)
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mdkapplet-config | 8 |
2 files changed, 7 insertions, 4 deletions
@@ -1,3 +1,6 @@ +- mdkapplet-config + o hide non available options instead of making them insensitive + (#56637) - include distribution version in user agent Version 2.77.14 - 9 December 2009, Thierry Vignaud diff --git a/mdkapplet-config b/mdkapplet-config index 0509dc9a..b691e942 100755 --- a/mdkapplet-config +++ b/mdkapplet-config @@ -91,18 +91,18 @@ sub configure() { active_ref => \$config{DO_NOT_ASK_FOR_DISTRO_UPGRADE}, ), ], + if_(is_restricted_media_supported(), [ gtknew('CheckButton', text => N("Check for missing \"%s\" media", N("Restricted")), active_ref => \$config{DO_NOT_ASK_FOR_RESTRICTED}, - sensitive => is_restricted_media_supported(), ), - ], + ]), + if_(is_enterprise_media_supported(), [ gtknew('CheckButton', text => N("Check for missing \"%s\" media", N("Enterprise")), active_ref => \$config{DO_NOT_ASK_FOR_ENTERPRISE_UPDATE_MEDIA}, - sensitive => is_enterprise_media_supported(), ), - ], + ]), ]), create_okcancel($w), #, N("Next"), N("Cancel")), ]); |