forked from AuroraMiddleware/gtk
Request the right attributes in the simple search engine
This change makes it so that the file info passed along from the simple search engine has all the attributes that the file system model wants.
This commit is contained in:
parent
abe4829e36
commit
56c05c429f
@ -189,7 +189,11 @@ visit_directory (GFile *dir, SearchThreadData *data)
|
|||||||
G_FILE_ATTRIBUTE_STANDARD_NAME ","
|
G_FILE_ATTRIBUTE_STANDARD_NAME ","
|
||||||
G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME ","
|
G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME ","
|
||||||
G_FILE_ATTRIBUTE_STANDARD_TYPE ","
|
G_FILE_ATTRIBUTE_STANDARD_TYPE ","
|
||||||
G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN,
|
G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN ","
|
||||||
|
G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP ","
|
||||||
|
G_FILE_ATTRIBUTE_STANDARD_SIZE ","
|
||||||
|
G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE ","
|
||||||
|
G_FILE_ATTRIBUTE_TIME_MODIFIED,
|
||||||
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
|
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
|
||||||
data->cancellable, NULL);
|
data->cancellable, NULL);
|
||||||
if (enumerator == NULL)
|
if (enumerator == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user