summaryrefslogtreecommitdiff
path: root/src/nautilus-tag-manager.h
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2020-09-02 12:38:48 +0200
committerSam Thursfield <sam@afuera.me.uk>2020-09-02 18:50:17 +0200
commitbd30a21a0ce1b40ca59814f731bd761670601aaa (patch)
tree87bbcbd9da8a23f35725772394745e8a9d8db497 /src/nautilus-tag-manager.h
parent29105fc9f6abf2eca6f986104763d21b9f22f0fb (diff)
downloadnautilus-bd30a21a0ce1b40ca59814f731bd761670601aaa.tar.gz
Limit starred files to within user's home directory
Previously starred files were limited to directories indexed by Tracker. Since the 'Port to Tracker 3' commit this is no longer the case. However, to avoid unbounded growth in the starred files database we want to prevent starring of network locations and removable devices for now as these entries might go stale and we don't have any way to clean them up.
Diffstat (limited to 'src/nautilus-tag-manager.h')
-rw-r--r--src/nautilus-tag-manager.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nautilus-tag-manager.h b/src/nautilus-tag-manager.h
index acac9301a..c0d793adc 100644
--- a/src/nautilus-tag-manager.h
+++ b/src/nautilus-tag-manager.h
@@ -51,4 +51,7 @@ void nautilus_tag_manager_unstar_files (NautilusTagManager
gboolean nautilus_tag_manager_file_is_starred (NautilusTagManager *self,
const gchar *file_uri);
+gboolean nautilus_tag_manager_can_star_contents (NautilusTagManager *self,
+ GFile *directory);
+
G_END_DECLS