Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix for loading the icon list in Linux
This commit fixes a couple of things: 1. The list of icons was using relative paths. 2. If the icons could not be loaded, the error was ignored without a warning. For adobe#1 I am prefixing the icon paths with the directory where the Brackets executable resides (since the icons are there, too). One might think that the paths are relative to the aforementioned directory, except that is only true if Brackets is started from the launcher. If I start Brackets from the command line (or if I specify another initial working dir), Brackets fails to load the icons. On top of that, no warning is issued to the user, making this hard to trace as my window manager cached the icons (so for testing I had to rename the executable, too). Which leads me to adobe#2, now I'm issuing a warning if Brackets fails to load any of the icons. The bug was originally pointed out to me by another user - @orschiro on github.
- Loading branch information