summaryrefslogtreecommitdiff
path: root/gtk/gtksearchenginesimple.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-07-04 21:16:55 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-07-04 22:44:30 -0400
commit15617a69aa74cd9c3080adcd5204cfdf288980c0 (patch)
tree0e3bf82ecc27e9965e234f911dd8906ffb2faf1e /gtk/gtksearchenginesimple.c
parent530d295a2eda444b6585880532c54797d00d6230 (diff)
downloadgtk+-15617a69aa74cd9c3080adcd5204cfdf288980c0.tar.gz
file chooser: Allow renaming files
This has often been requested as a useful feature in 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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtksearchenginesimple.c b/gtk/gtksearchenginesimple.c
index 0ffd112e4b..4c3700fcea 100644
--- a/gtk/gtksearchenginesimple.c
+++ b/gtk/gtksearchenginesimple.c
@@ -220,7 +220,8 @@ visit_directory (GFile *dir, SearchThreadData *data)
G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE ","
G_FILE_ATTRIBUTE_STANDARD_TARGET_URI ","
G_FILE_ATTRIBUTE_TIME_MODIFIED ","
- G_FILE_ATTRIBUTE_TIME_ACCESS,
+ G_FILE_ATTRIBUTE_TIME_ACCESS ","
+ G_FILE_ATTRIBUTE_ACCESS_CAN_RENAME,
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
data->cancellable, NULL);
if (enumerator == NULL)