Skip to content
Snippets Groups Projects
Commit 31d59256 authored by Alexander Schwinn's avatar Alexander Schwinn
Browse files

Keep alpha when cutting read-only files (#1060)

parent 9c229976
No related branches found
No related tags found
No related merge requests found
......@@ -530,7 +530,7 @@ thunar_icon_renderer_render (GtkCellRenderer *renderer,
{
/* use a translucent icon to represent cutted and hidden files to the user */
clipboard = thunar_clipboard_manager_get_for_display (gtk_widget_get_display (widget));
if (thunar_clipboard_manager_has_cutted_file (clipboard, icon_renderer->file))
if (thunar_clipboard_manager_has_cutted_file (clipboard, icon_renderer->file) && thunar_file_is_writable (icon_renderer->file))
{
/* 50% translucent for cutted files */
alpha = 0.50;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment