Skip to content

Commit

Permalink
Use cached icons for the file manager and terminal.
Browse files Browse the repository at this point in the history
  • Loading branch information
trizen committed Feb 10, 2018
1 parent 561c8f7 commit 82a59a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions obbrowser
Original file line number Diff line number Diff line change
Expand Up @@ -312,13 +312,13 @@ my $escapedProgramName = xmlEscape($0);
# "Browse here..." and "Terminal here..." entries
my $generated_menu =
qq{<openbox_pipe_menu><item label="$CONFIG{browse_label}"}
. ($CONFIG{with_icons} ? (qq{ icon="} . get_icon_path($CONFIG{file_manager_icon}) . q{"}) : '')
. ($CONFIG{with_icons} ? (qq{ icon="} . check_icon($CONFIG{file_manager_icon}) . q{"}) : '')
. qq{><action name="Execute">}
. qq{<execute>$CONFIG{file_manager} &quot;$qEscapedDir&quot;</execute></action></item>}
. (
$CONFIG{with_terminal}
? (qq{<item label="$CONFIG{terminal_label}"}
. ($CONFIG{with_icons} ? (qq{ icon="} . get_icon_path($CONFIG{terminal_icon}) . q{"}) : '')
. ($CONFIG{with_icons} ? (qq{ icon="} . check_icon($CONFIG{terminal_icon}) . q{"}) : '')
. qq{><action name="Execute"><execute>$CONFIG{terminal} &quot;$qEscapedDir&quot;</execute></action></item>})
: q{}
)
Expand Down

0 comments on commit 82a59a4

Please sign in to comment.