Commit 94ca62a4 authored by intrigeri's avatar intrigeri

Make the Nautilus extension work again.

It was broken since commit 0d1fe255,
i.e. in the MAT 0.6 and 0.6.1 releases.

The impact is: the MAT extension for Nautilus fails to clean metadata,
without making the user aware of it.

This bug was discovered by the Tails contributor sajolida, and initially
reported to Debian as https://bugs.debian.org/858058.
parent feea5a79
......@@ -77,7 +77,7 @@ class MatExtension(GObject.GObject, Nautilus.MenuProvider):
:param current_file: Name of the selected file
:param menu: Menu id from which the callback was activated. Unused.
"""
if file.is_gone():
if current_file.is_gone():
return
# files url in nautilus are starting with 'file://', of length 7
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment