aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-12-30 14:48:52 +0100
committerAngelo Naselli <anaselli@linux.it>2015-12-30 14:48:52 +0100
commitac5fae049f7a67e99f2af460b70d3af54c74388b (patch)
tree3c53842b0033dbeeda2d90e3a03c74bd6c19f25b /lib/ManaTools
parent32bb4b9a3dbdaafed879287cd177fddff77719eb (diff)
downloadmanatools-ac5fae049f7a67e99f2af460b70d3af54c74388b.tar
manatools-ac5fae049f7a67e99f2af460b70d3af54c74388b.tar.gz
manatools-ac5fae049f7a67e99f2af460b70d3af54c74388b.tar.bz2
manatools-ac5fae049f7a67e99f2af460b70d3af54c74388b.tar.xz
manatools-ac5fae049f7a67e99f2af460b70d3af54c74388b.zip
fixed icons
Diffstat (limited to 'lib/ManaTools')
-rw-r--r--lib/ManaTools/Module/Hosts.pm3
-rw-r--r--lib/ManaTools/Module/LogViewer.pm3
-rw-r--r--lib/ManaTools/Module/Proxy.pm3
-rw-r--r--lib/ManaTools/Module/Services.pm3
4 files changed, 8 insertions, 4 deletions
diff --git a/lib/ManaTools/Module/Hosts.pm b/lib/ManaTools/Module/Hosts.pm
index b2576c20..2fc61271 100644
--- a/lib/ManaTools/Module/Hosts.pm
+++ b/lib/ManaTools/Module/Hosts.pm
@@ -25,6 +25,7 @@ use autodie;
use Moose;
use POSIX qw(ceil);
use utf8;
+use File::ShareDir ':ALL';
use Glib;
use yui;
@@ -36,7 +37,7 @@ extends qw( ManaTools::Module );
has '+icon' => (
- default => "/usr/lib/libDrakX/icons/IC-Dhost-48.png"
+ default => File::ShareDir::dist_file(ManaTools::Shared::distName(), 'images/manahost.png'),
);
has '+name' => (
diff --git a/lib/ManaTools/Module/LogViewer.pm b/lib/ManaTools/Module/LogViewer.pm
index 1c7dbe36..e456256c 100644
--- a/lib/ManaTools/Module/LogViewer.pm
+++ b/lib/ManaTools/Module/LogViewer.pm
@@ -52,6 +52,7 @@ use Moose;
use diagnostics;
use open OUT => ':utf8';
+use File::ShareDir ':ALL';
use ManaTools::Shared::GUI;
use ManaTools::Shared::Locales;
@@ -70,7 +71,7 @@ extends qw( ManaTools::Module );
### TODO icon
has '+icon' => (
- default => "/usr/share/mcc/themes/default/logdrake-mdk.png",
+ default => File::ShareDir::dist_file(ManaTools::Shared::distName(), 'images/manalog.png'),
);
has 'sh_gui' => (
diff --git a/lib/ManaTools/Module/Proxy.pm b/lib/ManaTools/Module/Proxy.pm
index 8320f2bd..3c078ef4 100644
--- a/lib/ManaTools/Module/Proxy.pm
+++ b/lib/ManaTools/Module/Proxy.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);
@@ -41,7 +42,7 @@ extends qw( ManaTools::Module );
has '+icon' => (
- default => "/usr/share/mcc/themes/default/drakproxy-mdk.png"
+ default => File::ShareDir::dist_file(ManaTools::Shared::distName(), 'images/manaproxy.png'),
);
has '+name' => (
diff --git a/lib/ManaTools/Module/Services.pm b/lib/ManaTools/Module/Services.pm
index 72e342a0..fc73587f 100644
--- a/lib/ManaTools/Module/Services.pm
+++ b/lib/ManaTools/Module/Services.pm
@@ -59,6 +59,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
use Moose;
use English;
use Time::HiRes qw(usleep);
+use File::ShareDir ':ALL';
use MDK::Common::String qw(formatAlaTeX);
use MDK::Common::DataStructure qw(member);
@@ -74,7 +75,7 @@ use File::Basename;
extends qw( ManaTools::Module );
has '+icon' => (
- default => "/usr/share/mcc/themes/default/service-mdk.png",
+ default => File::ShareDir::dist_file(ManaTools::Shared::distName(), 'images/manaservice.png'),
);
has '_services' => (