aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-06-28 10:14:41 +0200
committerAngelo Naselli <anaselli@linux.it>2014-06-28 10:14:41 +0200
commitc779f67a9afac3735303105d12fb113578856dac (patch)
treec4c4c1196e457bcaff809b0209f9d8c2cc33e5e7
parent084d8bb10d4152919b264331c89756fa21e3de2b (diff)
downloadcolin-keep-c779f67a9afac3735303105d12fb113578856dac.tar
colin-keep-c779f67a9afac3735303105d12fb113578856dac.tar.gz
colin-keep-c779f67a9afac3735303105d12fb113578856dac.tar.bz2
colin-keep-c779f67a9afac3735303105d12fb113578856dac.tar.xz
colin-keep-c779f67a9afac3735303105d12fb113578856dac.zip
Let call dependency be clear
-rw-r--r--lib/AdminPanel/Module/Users.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/AdminPanel/Module/Users.pm b/lib/AdminPanel/Module/Users.pm
index 0ffc8a2..96913b2 100644
--- a/lib/AdminPanel/Module/Users.pm
+++ b/lib/AdminPanel/Module/Users.pm
@@ -774,7 +774,7 @@ sub _buildUserData {
my $weakness = undef;
if (yui::YUI::app()->hasImageSupport()) {
$factory->createHSpacing($hbox, 2.0);
- my $file = dist_file('AdminPanel', 'images/Blank16x16.png');
+ my $file = File::ShareDir::dist_file('AdminPanel', 'images/Blank16x16.png');
$weakness = $factory->createImage($hbox, $file);
}
else {
@@ -2087,9 +2087,9 @@ sub _checkWeaknessPassword {
my $strongp = $self->sh_users->strongPassword($password);
if (yui::YUI::app()->hasImageSupport()) {
- my $file = dist_file('AdminPanel', 'images/Warning_Shield_Grey16x16.png');
+ my $file = File::ShareDir::dist_file('AdminPanel', 'images/Warning_Shield_Grey16x16.png');
if ($strongp) {
- $file = dist_file('AdminPanel', 'images/Checked_Shield_Green16x16.png');
+ $file = File::ShareDir::dist_file('AdminPanel', 'images/Checked_Shield_Green16x16.png');
}
$weakness_widget->setImage($file);
}