mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- filebrowser: port fileicon handling from TangoCash
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1230,6 +1230,15 @@ void CFileBrowser::paintItem(unsigned int pos)
|
||||
fileicon = NEUTRINO_ICON_PICTURE;
|
||||
break;
|
||||
|
||||
case CFile::FILE_AVI:
|
||||
case CFile::FILE_ASF:
|
||||
case CFile::FILE_MKV:
|
||||
case CFile::FILE_VOB:
|
||||
case CFile::FILE_MPG:
|
||||
case CFile::FILE_TS:
|
||||
fileicon = NEUTRINO_ICON_MOVIE;
|
||||
break;
|
||||
|
||||
case CFile::FILE_TEXT:
|
||||
default:
|
||||
fileicon = NEUTRINO_ICON_FILE;
|
||||
|
Reference in New Issue
Block a user