diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-08 18:36:49 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-11-08 18:36:53 +0100 |
commit | facea35333b3865396e10a03ce332fc5afa1b792 (patch) | |
tree | c437c785569df6fec63916e308a9c987a7b12037 | |
parent | b065bdc9c8593e230439effe28a131ca00165203 (diff) | |
download | userdrake-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-x | userdrake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |