This is an automated email from the git hooks/post-receive script. a l e x p u s h e d a c o m m i t t o b r a n c h m a s t e r in repository xfce/thunar.
commit 153be5ae78df49ef0753f3e23732b6fb2b266997 Author: Theo Linkspfeifer <lastonestand...@tutanota.com> Date: Wed Mar 25 00:07:25 2020 +0100 Do not add "cant-write" emblem to files in the Trash --- thunar/thunar-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c index b647251..18687ff 100644 --- a/thunar/thunar-file.c +++ b/thunar/thunar-file.c @@ -3413,7 +3413,7 @@ thunar_file_get_emblem_names (ThunarFile *file) { emblems = g_list_prepend (emblems, THUNAR_FILE_EMBLEM_NAME_CANT_READ); } - else if (G_UNLIKELY (uid == effective_user_id && !thunar_file_is_writable (file))) + else if (G_UNLIKELY (uid == effective_user_id && !thunar_file_is_writable (file) && !thunar_file_is_trashed (file))) { /* we own the file, but we cannot write to it, that's why we mark it as "cant-write", so * users won't be surprised when opening the file in a text editor, but are unable to save. -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits