line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package File::IconTheme; |
2
|
1
|
|
|
1
|
|
13409
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
31
|
|
3
|
1
|
|
|
1
|
|
3
|
use warnings FATAL => 'all'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
29
|
|
4
|
1
|
|
|
1
|
|
361
|
use File::BaseDir qw(data_dirs); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
51
|
|
5
|
|
|
|
|
|
|
require File::Spec; |
6
|
1
|
|
|
1
|
|
402
|
use parent qw(Exporter); |
|
1
|
|
|
|
|
229
|
|
|
1
|
|
|
|
|
4
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '0.07'; |
9
|
|
|
|
|
|
|
our @EXPORT_OK = qw(xdg_icon_theme_search_dirs); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub xdg_icon_theme_search_dirs { |
12
|
1
|
100
|
|
1
|
1
|
1176
|
return grep {-d $_ && -r $_} |
|
5
|
|
|
|
|
72
|
|
13
|
|
|
|
|
|
|
File::Spec->catfile($ENV{HOME}, '.icons'), |
14
|
|
|
|
|
|
|
data_dirs('icons'), |
15
|
|
|
|
|
|
|
'/usr/share/pixmaps'; |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |