aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-01-14 18:38:16 +0100
committerAngelo Naselli <anaselli@linux.it>2014-01-14 18:38:16 +0100
commit963b4b7c7f0ab173e2c732dddb7d0aa7c6e4a48f (patch)
treecd7c7a29b286dedaa8aa109d9b4285e284684ab6 /modules
parentba8f98e4dbb9ae9490f86a5587818fde9ab31c45 (diff)
downloadcolin-keep-963b4b7c7f0ab173e2c732dddb7d0aa7c6e4a48f.tar
colin-keep-963b4b7c7f0ab173e2c732dddb7d0aa7c6e4a48f.tar.gz
colin-keep-963b4b7c7f0ab173e2c732dddb7d0aa7c6e4a48f.tar.bz2
colin-keep-963b4b7c7f0ab173e2c732dddb7d0aa7c6e4a48f.tar.xz
colin-keep-963b4b7c7f0ab173e2c732dddb7d0aa7c6e4a48f.zip
Fixed also admin service (title and icon)
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/services/adminService16
1 files changed, 3 insertions, 13 deletions
diff --git a/modules/services/adminService b/modules/services/adminService
index d4f8fe3..953b2cc 100755
--- a/modules/services/adminService
+++ b/modules/services/adminService
@@ -3,21 +3,11 @@
use strict;
use lib qw(/usr/lib/libDrakX);
-use standalone; #- warning, standalone must be loaded very first, for 'explanations'
-
-use common;
-use AdminPanel::Shared;
+use common qw(N);
use AdminPanel::Services::AdminService;
-use log;
-
-use yui;
-
-my $wm_icon = "/usr/share/mcc/themes/default/service-mdk.png";
-
-yui::YUI::app()->setApplicationTitle(N("Services and daemons"));
-yui::YUI::app()->setApplicationIcon($wm_icon);
-my $serviceMan = AdminPanel::Services::AdminService->new();
+my $serviceMan = AdminPanel::Services::AdminService->new({icon => "/usr/share/mcc/themes/default/service-mdk.png",
+ name => N("Services and daemons"),});
$serviceMan->start();
1;