From afffcab65c1cbb781fdab1b2abc4b843dfb5e1d1 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Sun, 3 May 2015 22:39:14 +0200 Subject: Used manadm icon --- lib/ManaTools/Module/DisplayManager.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/ManaTools/Module') diff --git a/lib/ManaTools/Module/DisplayManager.pm b/lib/ManaTools/Module/DisplayManager.pm index a068767..2290336 100644 --- a/lib/ManaTools/Module/DisplayManager.pm +++ b/lib/ManaTools/Module/DisplayManager.pm @@ -26,6 +26,7 @@ use Moose; use POSIX qw(ceil); use English; use utf8; +use File::ShareDir ':ALL'; use yui; use ManaTools::Shared qw(trim apcat); @@ -42,7 +43,7 @@ extends qw( ManaTools::Module ); has '+icon' => ( - default => "/usr/share/mcc/themes/default/drakedm-mdk.png", + default => File::ShareDir::dist_file(ManaTools::Shared::distName(), 'images/manadm.png'), ); has '+name' => ( -- cgit v1.2.1