aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Module
diff options
context:
space:
mode:
authormatteo <matteo.pasotti@gmail.com>2014-07-05 15:12:23 +0300
committermatteo <matteo.pasotti@gmail.com>2014-07-05 15:12:23 +0300
commit96a6b704886f54314ac4eaf48f5d898ab8f93fb9 (patch)
tree6f3a7b5934636dd440b8268b108a2d481961208b /lib/AdminPanel/Module
parent5777daf56328caf38f2c8aae8731e76917ea4d77 (diff)
parent8bce3d19325a0108e0b801017d48957e0a93080d (diff)
downloadmanatools-96a6b704886f54314ac4eaf48f5d898ab8f93fb9.tar
manatools-96a6b704886f54314ac4eaf48f5d898ab8f93fb9.tar.gz
manatools-96a6b704886f54314ac4eaf48f5d898ab8f93fb9.tar.bz2
manatools-96a6b704886f54314ac4eaf48f5d898ab8f93fb9.tar.xz
manatools-96a6b704886f54314ac4eaf48f5d898ab8f93fb9.zip
Merge branch 'master' of ssh://git.mageia.org/software/adminpanel
Diffstat (limited to 'lib/AdminPanel/Module')
-rw-r--r--lib/AdminPanel/Module/Services.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/AdminPanel/Module/Services.pm b/lib/AdminPanel/Module/Services.pm
index 365f3e18..84a46245 100644
--- a/lib/AdminPanel/Module/Services.pm
+++ b/lib/AdminPanel/Module/Services.pm
@@ -62,9 +62,9 @@ use strict;
# TODO same translation atm
use lib qw(/usr/lib/libDrakX);
use MDK::Common::String qw(formatAlaTeX);
+use MDK::Common::DataStructure qw(member);
use yui;
-use AdminPanel::Shared qw(member);
use AdminPanel::Shared::GUI;
use AdminPanel::Shared::Locales;
use AdminPanel::Shared::Services qw(
@@ -297,7 +297,7 @@ sub _serviceStatusString {
my $started;
- if (AdminPanel::Shared::member($serviceName, $self->all_xinetd_services)) {
+ if (MDK::Common::DataStructure::member($serviceName, $self->all_xinetd_services)) {
$started = $self->loc->N("Start when requested");
}
else {
@@ -344,7 +344,7 @@ sub _fillServiceTable {
my $cell = new yui::YTableCell($started);
$item->addCell($cell);
- $item->check(AdminPanel::Shared::member($serviceName, $self->all_on_services));
+ $item->check(MDK::Common::DataStructure::member($serviceName, $self->all_on_services));
$item->setLabel($serviceName);
$itemCollection->push($item);
$item->DISOWN();
@@ -420,7 +420,7 @@ sub _servicePanel {
my $item = $serviceTbl->selectedItem();
if ($item) {
$self->_serviceInfo($item->label(), $infoPanel);
- if (AdminPanel::Shared::member($item->label(), $self->all_xinetd_services)) {
+ if (MDK::Common::DataStructure::member($item->label(), $self->all_xinetd_services)) {
$stopButton->setDisabled();
$startButton->setDisabled();
}
@@ -475,7 +475,7 @@ sub _servicePanel {
$item = $serviceTbl->selectedItem();
if ($item) {
$self->_serviceInfo($item->label(), $infoPanel);
- if (AdminPanel::Shared::member($item->label(), $self->all_xinetd_services)) {
+ if (MDK::Common::DataStructure::member($item->label(), $self->all_xinetd_services)) {
$stopButton->setDisabled();
$startButton->setDisabled();
}