Update TDEL10n module

+ Add *.theme and eventsrc to files known as desktop style.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/51/head
Slávek Banko 5 years ago
parent e4b370839f
commit 55cdb3a75e
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -514,9 +514,10 @@ macro( tde_l10n_create_template )
endif( )
endforeach( )
# pick desktop files - *.desktop, *.directory, *.kcsrc, *.protocol and *.themerc
# pick desktop files - *.desktop, *.directory, *.kcsrc, *.protocol, *.theme, *.themerc and eventsrc
foreach( _src ${_files} )
if( ${_src} MATCHES "\\.(desktop|directory|kcsrc|protocol|themerc)(\\.cmake)?$" )
if( ${_src} MATCHES "\\.(desktop|directory|kcsrc|protocol|theme|themerc)(\\.cmake)?$"
OR ${_src} MATCHES "(^|/)eventsrc(\\.cmake)?$" )
list( APPEND _desktops ${_src} )
list( REMOVE_ITEM _files ${_src} )
endif( )

Loading…
Cancel
Save