favorite-vfs-file.c: Add thumbnailing preference to the filesystem
info.
This tells the app that it's ok to show the thumbnails by default.
Nemo will have an extra check to skip individual files that aren't
local (unless specifically enabled by folder/preview preferences.
Michael Webster
3 years ago
578 | 578 | { |
579 | 579 | g_file_info_set_attribute_boolean (info, |
580 | 580 | G_FILE_ATTRIBUTE_FILESYSTEM_READONLY, TRUE); |
581 | } | |
582 | ||
583 | if (g_file_attribute_matcher_matches (matcher, G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW)) | |
584 | { | |
585 | g_file_info_set_attribute_uint32 (info, | |
586 | G_FILE_ATTRIBUTE_FILESYSTEM_USE_PREVIEW, | |
587 | G_FILESYSTEM_PREVIEW_TYPE_IF_LOCAL); | |
581 | 588 | } |
582 | 589 | |
583 | 590 | g_file_attribute_matcher_unref (matcher); |