mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-07 21:58:29 +02:00
filebrowser: port fileicon handling from TangoCash
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Commit: e49c326406
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-06-07 (Wed, 07 Jun 2017)
Origin message was:
------------------
- filebrowser: port fileicon handling from TangoCash
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
committed by
Michael Liebmann
parent
cde9e06399
commit
e5c1ded350
@@ -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