summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xmdkapplet-config8
2 files changed, 7 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 0d104b16..7c867309 100644
--- a/NEWS
+++ b/NEWS
@@ -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")),
]);