F diff --git a/loggedin.js b/loggedin.js --- a/loggedin.js +++ b/loggedin.jsfunction add_file_visuals(fileview) {- var is_in_trash = focus.pwd.length == 1 && focus.pwd[0] == "trash";+ // Are we in a subdirectory of the trash folder+ var is_in_trash = focus.pwd.length > 0 && focus.pwd[0] == "trash";+ // Is the current filewview the trash folder itselfvar is_trash = focus.pwd.length == 0 && fileview.filename == "trash";var visuals = document.createElement('div');}visuals.ondragstart = (e) => {- if (focus.pwd.length == 0 && fileview.filename == "trash") {+ if (is_trash || is_in_trash) {e.preventDefault();return;}F diff --git a/mimeicons/application-octet-stream.png b/mimeicons/application-octet-stream.pngB Binary files a/mimeicons/application-octet-stream.png and b/mimeicons/application-octet-stream.png differF diff --git a/mimeicons/application-pdf.png b/mimeicons/application-pdf.pngB Binary files a/mimeicons/application-pdf.png and b/mimeicons/application-pdf.png differF diff --git a/mimeicons/application-rss_xml.png b/mimeicons/application-rss_xml.pngB Binary files a/mimeicons/application-rss_xml.png and b/mimeicons/application-rss_xml.png differF diff --git a/mimeicons/application-x-bittorrent.png b/mimeicons/application-x-bittorrent.pngB Binary files a/mimeicons/application-x-bittorrent.png and b/mimeicons/application-x-bittorrent.png differF diff --git a/mimeicons/application-x-cd-image.png b/mimeicons/application-x-cd-image.pngB Binary files a/mimeicons/application-x-cd-image.png and b/mimeicons/application-x-cd-image.png differF diff --git a/mimeicons/application-x-executable.png b/mimeicons/application-x-executable.pngB Binary files a/mimeicons/application-x-executable.png and b/mimeicons/application-x-executable.png differF diff --git a/mimeicons/application-x-object.png b/mimeicons/application-x-object.pngB Binary files a/mimeicons/application-x-object.png and b/mimeicons/application-x-object.png differF diff --git a/mimeicons/audio-x-generic.png b/mimeicons/audio-x-generic.pngB Binary files a/mimeicons/audio-x-generic.png and b/mimeicons/audio-x-generic.png differF diff --git a/mimeicons/font-x-generic.png b/mimeicons/font-x-generic.pngB Binary files a/mimeicons/font-x-generic.png and b/mimeicons/font-x-generic.png differF diff --git a/mimeicons/image-x-generic.png b/mimeicons/image-x-generic.pngB Binary files a/mimeicons/image-x-generic.png and b/mimeicons/image-x-generic.png differF diff --git a/mimeicons/package-x-generic.png b/mimeicons/package-x-generic.pngB Binary files a/mimeicons/package-x-generic.png and b/mimeicons/package-x-generic.png differF diff --git a/mimeicons/text-html.png b/mimeicons/text-html.pngB Binary files a/mimeicons/text-html.png and b/mimeicons/text-html.png differF diff --git a/mimeicons/text-vnd.trolltech.linguist.png b/mimeicons/text-vnd.trolltech.linguist.pngB Binary files a/mimeicons/text-vnd.trolltech.linguist.png and b/mimeicons/text-vnd.trolltech.linguist.png differF diff --git a/mimeicons/text-x-c.png b/mimeicons/text-x-c.png new file mode 100644B Binary files /dev/null and b/mimeicons/text-x-c.png differF diff --git a/mimeicons/text-x-changelog.png b/mimeicons/text-x-changelog.pngB Binary files a/mimeicons/text-x-changelog.png and b/mimeicons/text-x-changelog.png differF diff --git a/mimeicons/text-x-chdr.png b/mimeicons/text-x-chdr.pngB Binary files a/mimeicons/text-x-chdr.png and b/mimeicons/text-x-chdr.png differF diff --git a/mimeicons/text-x-cpp.png b/mimeicons/text-x-cpp.pngB Binary files a/mimeicons/text-x-cpp.png and b/mimeicons/text-x-cpp.png differF diff --git a/mimeicons/text-x-csrc.png b/mimeicons/text-x-csrc.png deleted file mode 100644B Binary files a/mimeicons/text-x-csrc.png and /dev/null differF diff --git a/mimeicons/text-x-css.png b/mimeicons/text-x-css.pngB Binary files a/mimeicons/text-x-css.png and b/mimeicons/text-x-css.png differF diff --git a/mimeicons/text-x-generic.png b/mimeicons/text-x-generic.pngB Binary files a/mimeicons/text-x-generic.png and b/mimeicons/text-x-generic.png differF diff --git a/mimeicons/text-x-go.png b/mimeicons/text-x-go.pngB Binary files a/mimeicons/text-x-go.png and b/mimeicons/text-x-go.png differF diff --git a/mimeicons/text-x-javascript.png b/mimeicons/text-x-javascript.pngB Binary files a/mimeicons/text-x-javascript.png and b/mimeicons/text-x-javascript.png differF diff --git a/mimeicons/text-x-preview.png b/mimeicons/text-x-preview.pngB Binary files a/mimeicons/text-x-preview.png and b/mimeicons/text-x-preview.png differF diff --git a/mimeicons/text-x-python.png b/mimeicons/text-x-python.pngB Binary files a/mimeicons/text-x-python.png and b/mimeicons/text-x-python.png differF diff --git a/mimeicons/text-x-script.png b/mimeicons/text-x-script.pngB Binary files a/mimeicons/text-x-script.png and b/mimeicons/text-x-script.png differF diff --git a/mimeicons/text-x-vala.png b/mimeicons/text-x-vala.pngB Binary files a/mimeicons/text-x-vala.png and b/mimeicons/text-x-vala.png differF diff --git a/mimeicons/video-x-generic.png b/mimeicons/video-x-generic.pngB Binary files a/mimeicons/video-x-generic.png and b/mimeicons/video-x-generic.png differF diff --git a/mimeicons/x-office-calendar.png b/mimeicons/x-office-calendar.pngB Binary files a/mimeicons/x-office-calendar.png and b/mimeicons/x-office-calendar.png differF diff --git a/mimeicons/x-office-document-template.png b/mimeicons/x-office-document-template.pngB Binary files a/mimeicons/x-office-document-template.png and b/mimeicons/x-office-document-template.png differF diff --git a/mimeicons/x-office-document.png b/mimeicons/x-office-document.pngB Binary files a/mimeicons/x-office-document.png and b/mimeicons/x-office-document.png differF diff --git a/mimeicons/x-office-drawing-template.png b/mimeicons/x-office-drawing-template.pngB Binary files a/mimeicons/x-office-drawing-template.png and b/mimeicons/x-office-drawing-template.png differF diff --git a/mimeicons/x-office-drawing.png b/mimeicons/x-office-drawing.pngB Binary files a/mimeicons/x-office-drawing.png and b/mimeicons/x-office-drawing.png differF diff --git a/mimeicons/x-office-presentation-template.png b/mimeicons/x-office-presentation-template.pngB Binary files a/mimeicons/x-office-presentation-template.png and b/mimeicons/x-office-presentation-template.png differF diff --git a/mimeicons/x-office-presentation.png b/mimeicons/x-office-presentation.pngB Binary files a/mimeicons/x-office-presentation.png and b/mimeicons/x-office-presentation.png differF diff --git a/mimeicons/x-office-spreadsheet-template.png b/mimeicons/x-office-spreadsheet-template.pngB Binary files a/mimeicons/x-office-spreadsheet-template.png and b/mimeicons/x-office-spreadsheet-template.png differF diff --git a/mimeicons/x-office-spreadsheet.png b/mimeicons/x-office-spreadsheet.pngB Binary files a/mimeicons/x-office-spreadsheet.png and b/mimeicons/x-office-spreadsheet.png differ