Merge pull request #1277 from N-R-K/webp_icon

add webp icon
This commit is contained in:
Arun 2021-12-26 17:33:46 +05:30 committed by GitHub
commit 2eadf35fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -251,6 +251,7 @@
/* W */ /* W */
#define ICON_EXT_WAV ICON_MUSICFILE #define ICON_EXT_WAV ICON_MUSICFILE
#define ICON_EXT_WEBM ICON_VIDEOFILE #define ICON_EXT_WEBM ICON_VIDEOFILE
#define ICON_EXT_WEBP ICON_PICTUREFILE
#define ICON_EXT_WMA ICON_VIDEOFILE #define ICON_EXT_WMA ICON_VIDEOFILE
#define ICON_EXT_WMV ICON_VIDEOFILE #define ICON_EXT_WMV ICON_VIDEOFILE

View File

@ -95,7 +95,7 @@ static const struct icon_pair icons_name[] = {
}; };
/* /*
* New entries should bu added such that the first character of the extension is in the correct group . * New entries should be added such that the first character of the extension is in the correct group .
* This is done for performance reason so that the correct icon can be found faster. * This is done for performance reason so that the correct icon can be found faster.
* All entries are case-insensitive * All entries are case-insensitive
*/ */
@ -284,6 +284,7 @@ static const struct icon_pair icons_ext[] = {
/* W */ /* W */
{"wav", FA_FILE_AUDIO_O, COLOR_AUDIO}, {"wav", FA_FILE_AUDIO_O, COLOR_AUDIO},
{"webm", FA_FILE_MOVIE_O, COLOR_VIDEO}, {"webm", FA_FILE_MOVIE_O, COLOR_VIDEO},
{"webp", FA_FILE_IMAGE_O, COLOR_IMAGE},
{"wma", FA_FILE_AUDIO_O, COLOR_AUDIO}, {"wma", FA_FILE_AUDIO_O, COLOR_AUDIO},
{"wmv", FA_FILE_MOVIE_O, COLOR_VIDEO}, {"wmv", FA_FILE_MOVIE_O, COLOR_VIDEO},
@ -502,6 +503,7 @@ static const struct icon_pair icons_ext[] = {
/* W */ /* W */
{"wav", ICON_EXT_WAV, COLOR_AUDIO}, {"wav", ICON_EXT_WAV, COLOR_AUDIO},
{"webm", ICON_EXT_WEBM, COLOR_VIDEO}, {"webm", ICON_EXT_WEBM, COLOR_VIDEO},
{"webp", ICON_EXT_WEBP, COLOR_IMAGE},
{"wma", ICON_EXT_WMA, COLOR_AUDIO}, {"wma", ICON_EXT_WMA, COLOR_AUDIO},
{"wmv", ICON_EXT_WMV, COLOR_VIDEO}, {"wmv", ICON_EXT_WMV, COLOR_VIDEO},