summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-01-18 16:02:48 +0000
committerThierry Vignaud <tv@mandriva.org>2010-01-18 16:02:48 +0000
commit503777c643d4ac2875341df39517c7879d1e155f (patch)
tree6e1f918f53245a2801587f778f539e282f231e51
parentb5c6de14d35ba790b543f5fe31bea669288f778f (diff)
downloadmgaonline-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--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")),
]);