diff options
-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")), ]); |