diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-07-04 23:46:11 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-07-04 23:46:11 -0400 |
commit | 39822092f4b04a0ac6dc8147d6e567535aac3596 (patch) | |
tree | c4e4f617d2901a7c12af4b76ea0a580ab09ba2d8 /gtk/gtksearchenginesimple.c | |
parent | 15617a69aa74cd9c3080adcd5204cfdf288980c0 (diff) | |
download | gtk+-39822092f4b04a0ac6dc8147d6e567535aac3596.tar.gz |
file chooser: Allow deleting files
This is another often requestsed feature for save mode.
Based on a patch by John Beard,
https://bugzilla.gnome.org/show_bug.cgi?id=325150
Diffstat (limited to 'gtk/gtksearchenginesimple.c')
-rw-r--r-- | gtk/gtksearchenginesimple.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtksearchenginesimple.c b/gtk/gtksearchenginesimple.c index 4c3700fcea..968c6e7df1 100644 --- a/gtk/gtksearchenginesimple.c +++ b/gtk/gtksearchenginesimple.c @@ -221,7 +221,8 @@ visit_directory (GFile *dir, SearchThreadData *data) G_FILE_ATTRIBUTE_STANDARD_TARGET_URI "," G_FILE_ATTRIBUTE_TIME_MODIFIED "," G_FILE_ATTRIBUTE_TIME_ACCESS "," - G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME, + G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME "," + G_FILE_ATTRIBUTE_ACCESS_CAN_DELETE, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, data->cancellable, NULL); if (enumerator == NULL) |