aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Module/Hosts.pm
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-02-01 19:26:18 +0100
committerAngelo Naselli <anaselli@linux.it>2014-02-01 19:26:18 +0100
commitaefde81978bb322ad5128314eb0c71a1cc430364 (patch)
tree341568c6d3d731ebf64540e529959f4079f994f9 /lib/AdminPanel/Module/Hosts.pm
parentfe3afe8de86493c674a6887581bc87b60245a407 (diff)
downloadcolin-keep-aefde81978bb322ad5128314eb0c71a1cc430364.tar
colin-keep-aefde81978bb322ad5128314eb0c71a1cc430364.tar.gz
colin-keep-aefde81978bb322ad5128314eb0c71a1cc430364.tar.bz2
colin-keep-aefde81978bb322ad5128314eb0c71a1cc430364.tar.xz
colin-keep-aefde81978bb322ad5128314eb0c71a1cc430364.zip
Fixed POD
Fixed Service status representation after restarting (some services were not represented correctly) Added busy cursor during start/stop operation Added refresh button to refresh services (and their status) usefull in case of xinetd enabling
Diffstat (limited to 'lib/AdminPanel/Module/Hosts.pm')
-rw-r--r--lib/AdminPanel/Module/Hosts.pm20
1 files changed, 18 insertions, 2 deletions
diff --git a/lib/AdminPanel/Module/Hosts.pm b/lib/AdminPanel/Module/Hosts.pm
index 898bc91..dbda87f 100644
--- a/lib/AdminPanel/Module/Hosts.pm
+++ b/lib/AdminPanel/Module/Hosts.pm
@@ -65,10 +65,26 @@ has 'cfgHosts' => (
init_arg => undef
);
+#=============================================================
+
+=head2 start
+
+=head3 INPUT
+
+ $self: this object
+
+=head3 DESCRIPTION
+
+ This method extends Module::start and is invoked to
+ start host manager
+
+=cut
+
+#=============================================================
sub start {
my $self = shift;
- $self->manageHostsDialog();
+ $self->_manageHostsDialog();
};
@@ -230,7 +246,7 @@ sub setupTable {
}
}
-sub manageHostsDialog {
+sub _manageHostsDialog {
my $self = shift;
## TODO fix for adminpanel