Added support for .desktop files in themes.
commit4401cc090c4e8998d3156fc4bd1f392e0dd651df
authorPaolo Capriotti <p.capriotti@gmail.com>
Fri, 20 Jul 2007 11:10:41 +0000 (20 13:10 +0200)
committerPaolo Capriotti <p.capriotti@gmail.com>
Fri, 20 Jul 2007 11:10:41 +0000 (20 13:10 +0200)
treebb872ad1f94021a52e1c83ab5ea38586cb2e9ba8
parentc08c5d95f8578514097aa7997ef7918f9e31bc46
Added support for .desktop files in themes.

A theme may (should) now have a theme.desktop file in its root directory
with all the indexable / translatable theme information.
I have added a read_desktop_file function that themes can call to
have the information of the desktop file automatically added to the
theme structure.

See data/themes/pieces/FantasySVG/theme.desktop for the format that the
desktop file should adhere to.
data/themes/pieces/FantasySVG/theme.desktop [new file with mode: 0644]
data/themes/pieces/FantasySVG/theme.lua
src/luaapi/loader.cpp
src/luaapi/loader.h
src/tagua.desktop