summaryrefslogtreecommitdiff
path: root/gtk/gtksearchenginesimple.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-06-18 14:37:23 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-06-18 14:37:23 -0400
commit56c05c429f954ec9e993af68e5993facd258e585 (patch)
treee79d31af0e2160862ca561cd7f1320afb7015c87 /gtk/gtksearchenginesimple.c
parentabe4829e363abeb09d6ae2eef7e0e1bae573865d (diff)
downloadgtk+-56c05c429f954ec9e993af68e5993facd258e585.tar.gz
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.
Diffstat (limited to 'gtk/gtksearchenginesimple.c')
-rw-r--r--gtk/gtksearchenginesimple.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtksearchenginesimple.c b/gtk/gtksearchenginesimple.c
index 3b1381cd03..fc33c4ba27 100644
--- a/gtk/gtksearchenginesimple.c
+++ b/gtk/gtksearchenginesimple.c
@@ -189,7 +189,11 @@ visit_directory (GFile *dir, SearchThreadData *data)
G_FILE_ATTRIBUTE_STANDARD_NAME ","
G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME ","
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,
data->cancellable, NULL);
if (enumerator == NULL)