aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-11-08 18:36:49 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-11-08 18:36:53 +0100
commitfacea35333b3865396e10a03ce332fc5afa1b792 (patch)
treec437c785569df6fec63916e308a9c987a7b12037
parentb065bdc9c8593e230439effe28a131ca00165203 (diff)
downloaduserdrake-facea35333b3865396e10a03ce332fc5afa1b792.tar
userdrake-facea35333b3865396e10a03ce332fc5afa1b792.tar.gz
userdrake-facea35333b3865396e10a03ce332fc5afa1b792.tar.bz2
userdrake-facea35333b3865396e10a03ce332fc5afa1b792.tar.xz
userdrake-facea35333b3865396e10a03ce332fc5afa1b792.zip
(GetFaceIcon) make obvious parameter is optional
one less perl_checker warning
-rwxr-xr-xuserdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/userdrake b/userdrake
index e6ca26b..5994012 100755
--- a/userdrake
+++ b/userdrake
@@ -361,11 +361,11 @@ sub Refresh {
}
sub GetFaceIcon {
- my ($user) = @_;
+ my ($o_user) = @_;
my @icons = any::facesnames();
my $i;
my $current_icon;
- my $user_icon = "$::prefix/usr/share/faces/$user.png";
+ my $user_icon = "$::prefix/usr/share/faces/$o_user.png";
gtkpack_(my $hb = Gtk3::HBox->new(0, 2),
0, Gtk3::Label->new(N("Click on the icon to change it") . ' '),
0, my $bt = Gtk3::Button->new