summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Control_Center.pm
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.org>2010-06-07 21:04:10 +0000
committerEugeni Dodonov <eugeni@mandriva.org>2010-06-07 21:04:10 +0000
commit7d0d2366d450e50370ef44224ae000f7ba311486 (patch)
tree0e75e70f2d6ab12f5eee373eab7e7b0998df3ea6 /lib/MDV/Control_Center.pm
parent9beb7105f666042797d48f316bfea8b23e93aa6f (diff)
downloadcontrol-center-7d0d2366d450e50370ef44224ae000f7ba311486.tar
control-center-7d0d2366d450e50370ef44224ae000f7ba311486.tar.gz
control-center-7d0d2366d450e50370ef44224ae000f7ba311486.tar.bz2
control-center-7d0d2366d450e50370ef44224ae000f7ba311486.tar.xz
control-center-7d0d2366d450e50370ef44224ae000f7ba311486.zip
MDVA-2010:068 updated drakconf on 2010.0 to cooker's version,distro/mdv2010.0
so branch became out of sync. This commit attempts to grab the latest files from cooker to keep branch in sync.
Diffstat (limited to 'lib/MDV/Control_Center.pm')
-rwxr-xr-xlib/MDV/Control_Center.pm14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/MDV/Control_Center.pm b/lib/MDV/Control_Center.pm
index e5dc913b..07133e93 100755
--- a/lib/MDV/Control_Center.pm
+++ b/lib/MDV/Control_Center.pm
@@ -31,8 +31,12 @@ our @EXPORT = qw(
$bindir $sbindir $xbindir
$mcc_dir $themes_dir
%programs
+ $version
);
+our ($version) = cat_("/etc/mandrakelinux-release") =~ /\b(\d+\.\d+)/;
+
+
#-------------------------------------------------------------
# paths
our ($bindir, $sbindir, $xbindir) = ("/usr/bin", "/usr/sbin", "/usr/X11R6/bin");
@@ -600,6 +604,16 @@ our %programs =
icon => 'rpmdrake-mdk',
},
+
+ "Extended Maintenance" =>
+ {
+ binary => "$sbindir/mdkapplet-add-media-helper --product=extended $version",
+ embedded => 1,
+ description => N("Access to extended maintenance"),
+ icon => 'extended_maintenance',
+ },
+
+
"Tomoyo Policy" =>
{
binary => "$sbindir/tomoyo-gui",