tint2conf: Support for loading themes from /usr/share/tint2
o9000 mrovi9000@gmail.com
5 files changed,
7 insertions(+),
4 deletions(-)
M
CMakeLists.txt
→
CMakeLists.txt
@@ -247,6 +247,5 @@ install( FILES default_icon.png DESTINATION ${DATADIR}/tint2 )
install( FILES AUTHORS ChangeLog README.md DESTINATION ${DOCDIR} ) install( FILES doc/tint2.1 DESTINATION ${MANDIR}/man1 ) if( ENABLE_EXTRA_THEMES ) - file( GLOB EXTRATHEMEFILES themes/*.tint2rc ) - install( FILES ${EXTRATHEMEFILES} DESTINATION ${DATADIR}/tint2 ) -endif( ENABLE_EXAMPLES ) + add_subdirectory(themes) +endif( ENABLE_EXTRA_THEMES )
M
packaging/ubuntu/tint2.install
→
packaging/ubuntu/tint2.install
@@ -9,4 +9,4 @@ /usr/share/doc/tint2/README.md
/usr/share/icons/hicolor/scalable/apps/tint2.svg /usr/share/icons/hicolor/scalable/apps/tint2conf.svg /usr/share/locale/* -/usr/share/tint2/default_icon.png +/usr/share/tint2/*
A
themes/CMakeLists.txt
@@ -0,0 +1,2 @@
+file( GLOB EXTRATHEMEFILES *.tint2rc ) +install( FILES ${EXTRATHEMEFILES} DESTINATION ${DATADIR}/tint2 )
M
tint2.files
→
tint2.files
@@ -179,3 +179,4 @@ tint2.svg
src/tint2conf/po/ru.po src/util/cache.c src/util/cache.h +themes/CMakeLists.txt
M
tint2.includes
→
tint2.includes
@@ -21,3 +21,4 @@ po
src/tint2conf/po src/freespace src/execplugin +themes