tint2conf: Support for loading themes from /usr/share/tint2
This commit is contained in:
@@ -247,6 +247,5 @@ install( FILES default_icon.png DESTINATION ${DATADIR}/tint2 )
|
|||||||
install( FILES AUTHORS ChangeLog README.md DESTINATION ${DOCDIR} )
|
install( FILES AUTHORS ChangeLog README.md DESTINATION ${DOCDIR} )
|
||||||
install( FILES doc/tint2.1 DESTINATION ${MANDIR}/man1 )
|
install( FILES doc/tint2.1 DESTINATION ${MANDIR}/man1 )
|
||||||
if( ENABLE_EXTRA_THEMES )
|
if( ENABLE_EXTRA_THEMES )
|
||||||
file( GLOB EXTRATHEMEFILES themes/*.tint2rc )
|
add_subdirectory(themes)
|
||||||
install( FILES ${EXTRATHEMEFILES} DESTINATION ${DATADIR}/tint2 )
|
endif( ENABLE_EXTRA_THEMES )
|
||||||
endif( ENABLE_EXAMPLES )
|
|
||||||
|
|||||||
@@ -9,4 +9,4 @@
|
|||||||
/usr/share/icons/hicolor/scalable/apps/tint2.svg
|
/usr/share/icons/hicolor/scalable/apps/tint2.svg
|
||||||
/usr/share/icons/hicolor/scalable/apps/tint2conf.svg
|
/usr/share/icons/hicolor/scalable/apps/tint2conf.svg
|
||||||
/usr/share/locale/*
|
/usr/share/locale/*
|
||||||
/usr/share/tint2/default_icon.png
|
/usr/share/tint2/*
|
||||||
|
|||||||
2
themes/CMakeLists.txt
Normal file
2
themes/CMakeLists.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
file( GLOB EXTRATHEMEFILES *.tint2rc )
|
||||||
|
install( FILES ${EXTRATHEMEFILES} DESTINATION ${DATADIR}/tint2 )
|
||||||
@@ -179,3 +179,4 @@ tint2.svg
|
|||||||
src/tint2conf/po/ru.po
|
src/tint2conf/po/ru.po
|
||||||
src/util/cache.c
|
src/util/cache.c
|
||||||
src/util/cache.h
|
src/util/cache.h
|
||||||
|
themes/CMakeLists.txt
|
||||||
|
|||||||
@@ -21,3 +21,4 @@ po
|
|||||||
src/tint2conf/po
|
src/tint2conf/po
|
||||||
src/freespace
|
src/freespace
|
||||||
src/execplugin
|
src/execplugin
|
||||||
|
themes
|
||||||
|
|||||||
Reference in New Issue
Block a user