OSDN Git Service

app: use an explicit path for icon searches
authorAndrew Chadwick <andrewc-git@piffle.org>
Tue, 2 Aug 2011 21:20:55 +0000 (22:20 +0100)
committerAndrew Chadwick <andrewc-git@piffle.org>
Tue, 2 Aug 2011 21:20:55 +0000 (22:20 +0100)
commit26da161f988482633655fe7820978d036978a756
treee40d748680e8c6cbb03da865fedf3aa21f61c8c6
parent920aed228f9dd8f76c25299bbaac3cd216ec2791
app: use an explicit path for icon searches

Create the app instance with an explicit extra location for the icons,
based in the install prefix as derived from argv[0]. Fixes the app not
beeing able to start sensibly if installed somewhere not within the
bases for the usual icon search path. Be even more picky about missing
needed icons too so that people doing odd things get nicer feedback.

https://gna.org/bugs/?18442
gui/application.py
gui/main.py
mypaint.py