aboutsummaryrefslogtreecommitdiff
path: root/fiv-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'fiv-browser.c')
-rw-r--r--fiv-browser.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/fiv-browser.c b/fiv-browser.c
index 1879ddf..55d3fc1 100644
--- a/fiv-browser.c
+++ b/fiv-browser.c
@@ -729,17 +729,6 @@ thumbnailers_start(FivBrowser *self)
if (!self->model)
return;
- // TODO(p): Leave out all paths containing .cache/thumbnails altogether.
- gchar *thumbnails_dir = fiv_thumbnail_get_root();
- GFile *thumbnails = g_file_new_for_path(thumbnails_dir);
- g_free(thumbnails_dir);
-
- GFile *current = fiv_io_model_get_location(self->model);
- gboolean is_a_thumbnail = current && g_file_has_prefix(current, thumbnails);
- g_object_unref(thumbnails);
- if (is_a_thumbnail)
- return;
-
GList *missing = NULL, *lq = NULL;
for (guint i = self->entries->len; i--; ) {
Entry *entry = &g_array_index(self->entries, Entry, i);