aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Module
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-07-05 12:49:26 +0200
committerAngelo Naselli <anaselli@linux.it>2014-07-05 12:49:26 +0200
commit4040b475c5b825c6ee549c96fab5fbf2b3229817 (patch)
treedb4947fb9095e3b2511a4b68a3a6067cb95102da /lib/AdminPanel/Module
parent58463cc72da8711c22e01086281be4b544b696f1 (diff)
downloadmanatools-4040b475c5b825c6ee549c96fab5fbf2b3229817.tar
manatools-4040b475c5b825c6ee549c96fab5fbf2b3229817.tar.gz
manatools-4040b475c5b825c6ee549c96fab5fbf2b3229817.tar.bz2
manatools-4040b475c5b825c6ee549c96fab5fbf2b3229817.tar.xz
manatools-4040b475c5b825c6ee549c96fab5fbf2b3229817.zip
Removed member from Shared (usning MDK::Common::DataStructure one)
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();
}