Make icon paths not be (as) environment-dependent.
This commit is contained in:
parent
48ffa74bfd
commit
72b453f14c
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ function theme.icon(name)
|
|||
end
|
||||
end
|
||||
|
||||
local path = os.getenv("HOME").."/eclipse-workspace/mtmenu/textures/"..name..".png"
|
||||
local path = menupath.."textures/"..name..".png"
|
||||
return file_exists(path) and path or assets..name..".png"
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue