aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatteo Pasotti <matteo.pasotti@gmail.com>2014-01-26 15:04:15 +0100
committerMatteo Pasotti <matteo.pasotti@gmail.com>2014-01-26 15:04:15 +0100
commita4fa04395d6c97eb4bc27f73c5d0ba843dd0bc35 (patch)
treeb7243c6d28823d9bd9aab0e8e4a08bc8b27b28b9 /modules
parentbc62119944dd3c1220eda9581f0275f7fcb46ced (diff)
downloadcolin-keep-a4fa04395d6c97eb4bc27f73c5d0ba843dd0bc35.tar
colin-keep-a4fa04395d6c97eb4bc27f73c5d0ba843dd0bc35.tar.gz
colin-keep-a4fa04395d6c97eb4bc27f73c5d0ba843dd0bc35.tar.bz2
colin-keep-a4fa04395d6c97eb4bc27f73c5d0ba843dd0bc35.tar.xz
colin-keep-a4fa04395d6c97eb4bc27f73c5d0ba843dd0bc35.zip
- invoke GHosts constructor using hash with icon and name (adminpanel integration)
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/hostmanager/hostmanager8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/hostmanager/hostmanager b/modules/hostmanager/hostmanager
index 4d3b0f4..360387c 100755
--- a/modules/hostmanager/hostmanager
+++ b/modules/hostmanager/hostmanager
@@ -22,11 +22,15 @@ use AdminPanel::Hosts::GHosts;
use yui;
my $wm_icon = "/usr/lib/libDrakX/icons/IC-Dhost-48.png";
+my $wm_name = "Manage hosts definitions";
-yui::YUI::app()->setApplicationTitle("Manage hosts definitions");
+yui::YUI::app()->setApplicationTitle($wm_name);
yui::YUI::app()->setApplicationIcon($wm_icon);
-my $hostMan = AdminPanel::Hosts::GHosts->new();
+my $hostMan = AdminPanel::Hosts::GHosts->new({
+ icon => $wm_icon,
+ name => $wm_name
+ });
$hostMan->start();
1;