Browse Source

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 3 months ago
parent
commit
55cdb3a75e
No known key found for this signature in database GPG Key ID: 608F5293A04BE668
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      modules/TDEL10n.cmake

+ 3
- 2
modules/TDEL10n.cmake View File

@@ -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