diff options
Diffstat (limited to 'AdminPanel/Rpmdragora/icon.pm')
-rw-r--r-- | AdminPanel/Rpmdragora/icon.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/AdminPanel/Rpmdragora/icon.pm b/AdminPanel/Rpmdragora/icon.pm index 38ed61ca..d9ba2b1f 100644 --- a/AdminPanel/Rpmdragora/icon.pm +++ b/AdminPanel/Rpmdragora/icon.pm @@ -27,13 +27,13 @@ package AdminPanel::Rpmdragora::icon; use strict; our @ISA = qw(Exporter); use lib qw(/usr/lib/libDrakX); -use common; use POSIX; +use common; # TO WORKAROUND LOCALIZATION ISSUE use AdminPanel::Rpmdragora::localization; -our @EXPORT = qw(get_icon); +our @EXPORT = qw(get_icon_path); #- /usr/share/rpmlint/config (duplicates are normal, so that we are not too far away from .py) my %group_icons = ( N("All") => 'system_section', @@ -222,7 +222,7 @@ my %group_icons = ( ); -sub get_icon { +sub get_icon_path { my ($group, $parent) = @_; my $path; if(isdigit($parent) && $parent == 0){ |