summaryrefslogtreecommitdiff
path: root/nautilus
diff options
context:
space:
mode:
Diffstat (limited to 'nautilus')
-rw-r--r--nautilus/nautilus-mat.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/nautilus/nautilus-mat.py b/nautilus/nautilus-mat.py
index 0974bef..ff102b8 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
@@ -93,3 +93,7 @@ class MatExtension(GObject.GObject, Nautilus.MenuProvider):
93 self.show_message(_("Unable to clean %s") % file_path, Gtk.MessageType.ERROR) 93 self.show_message(_("Unable to clean %s") % file_path, Gtk.MessageType.ERROR)
94 else: 94 else:
95 self.show_message(_("Unable to process %s") % file_path, Gtk.MessageType.ERROR) 95 self.show_message(_("Unable to process %s") % file_path, Gtk.MessageType.ERROR)
96
97 # Workaround https://bugzilla.gnome.org/show_bug.cgi?id=784278
98 def get_background_items(self, window, file):
99 return None