From 747fe664816093ee1da12b12d8a5982aca8d8bf1 Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Sat, 6 Sep 2014 23:31:02 +0200 Subject: forgot to save for ShareDir --- lib/AdminPanel/Module/Users.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/AdminPanel/Module/Users.pm b/lib/AdminPanel/Module/Users.pm index 589a37e2..81ee1f41 100644 --- a/lib/AdminPanel/Module/Users.pm +++ b/lib/AdminPanel/Module/Users.pm @@ -787,7 +787,7 @@ sub _buildUserData { my $weakness = undef; if (yui::YUI::app()->hasImageSupport()) { $factory->createHSpacing($hbox, 2.0); - my $file = File::ShareDir::dist_file('AdminPanel', 'images/Blank16x16.png'); + my $file = File::ShareDir::dist_file(AdminPanel::Shared::distName(), 'images/Blank16x16.png'); $weakness = $factory->createImage($hbox, $file); } else { @@ -2108,9 +2108,9 @@ sub _checkWeaknessPassword { my $strongp = $self->sh_users->strongPassword($password); if (yui::YUI::app()->hasImageSupport()) { - my $file = File::ShareDir::dist_file('AdminPanel', 'images/Warning_Shield_Grey16x16.png'); + my $file = File::ShareDir::dist_file(AdminPanel::Shared::distName(), 'images/Warning_Shield_Grey16x16.png'); if ($strongp) { - $file = File::ShareDir::dist_file('AdminPanel', 'images/Checked_Shield_Green16x16.png'); + $file = File::ShareDir::dist_file(AdminPanel::Shared::distName(), 'images/Checked_Shield_Green16x16.png'); } $weakness_widget->setImage($file); } -- cgit v1.2.1