From 9b928c550d53b313f8d138b6929d8b94bd699740 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Wed, 8 Oct 2025 01:46:36 +0200 Subject: page.c: Move remove checkbox to the right It feels more intuitive to keep the thumbnail and file name as first columns. It is assumed removing files and/or directories is not the main interaction from users. --- page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page.c b/page.c index 454edce..3c66e0a 100644 --- a/page.c +++ b/page.c @@ -54,7 +54,7 @@ struct element_stats unsigned long long n_dirs, n_files, cur_page, n_pages; }; -enum {RM_CHECKBOX, THUMBNAIL, NAME, SIZE, DATE, SHARE, PREVIEW, COLUMNS}; +enum {THUMBNAIL, NAME, SIZE, DATE, SHARE, DOWNLOAD, RM_CHECKBOX, COLUMNS}; static int prepare_rm_checkbox(struct html_node *const n, const struct stat *const sb, const char *const name) -- cgit v1.2.3