summaryrefslogtreecommitdiff
path: root/nautilus
diff options
context:
space:
mode:
authorintrigeri2017-03-18 08:31:27 +0000
committerintrigeri2017-03-18 08:51:26 +0000
commit94ca62a429bb6a3a5f293de26053e54bbfeea9f9 (patch)
tree64bc839b135db6622d547ce012fcf24e737dcc08 /nautilus
parentfeea5a7962c86625d1cb198dcd2de0bc939728a9 (diff)
Make the Nautilus extension work again.
It was broken since commit 0d1fe2555e90db35eeb531a1b6026ff64f1f5ae5, 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.
Diffstat (limited to 'nautilus')
-rw-r--r--nautilus/nautilus-mat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nautilus/nautilus-mat.py b/nautilus/nautilus-mat.py
index 0974bef..7c2d740 100644
--- a/nautilus/nautilus-mat.py
+++ b/nautilus/nautilus-mat.py
@@ -77,7 +77,7 @@ class MatExtension(GObject.GObject, Nautilus.MenuProvider):
77 :param current_file: Name of the selected file 77 :param current_file: Name of the selected file
78 :param menu: Menu id from which the callback was activated. Unused. 78 :param menu: Menu id from which the callback was activated. Unused.
79 """ 79 """
80 if file.is_gone(): 80 if current_file.is_gone():
81 return 81 return
82 82
83 # files url in nautilus are starting with 'file://', of length 7 83 # files url in nautilus are starting with 'file://', of length 7