Skip to content

Commit

Permalink
The home_dir option is no longer need by Linux::DesktopFiles >= 0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Sep 15, 2017
1 parent ac54ce5 commit e39fbfd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions obmenu-generator
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,8 @@ my $desk_obj = Linux::DesktopFiles->new(
),
],

home_dir => $home_dir,
terminal => $CONFIG{terminal},
terminal => $CONFIG{terminal},

case_insensitive_cats => 1,
);

Expand Down Expand Up @@ -469,6 +469,7 @@ sub get_icon_path {

{
my %fast_cache;

sub check_icon {
$fast_cache{$_[0] // return ''} //= ($cache_db{$_[0]} //= get_icon_path($_[0]));
}
Expand Down

0 comments on commit e39fbfd

Please sign in to comment.