diff options
Diffstat (limited to 'nautilus')
| -rw-r--r-- | nautilus/nautilus-mat.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nautilus/nautilus-mat.py b/nautilus/nautilus-mat.py index 19b601e..f270ed8 100644 --- a/nautilus/nautilus-mat.py +++ b/nautilus/nautilus-mat.py | |||
| @@ -16,8 +16,8 @@ except: | |||
| 16 | 16 | ||
| 17 | from gi.repository import Nautilus, GObject, Gtk | 17 | from gi.repository import Nautilus, GObject, Gtk |
| 18 | 18 | ||
| 19 | import MAT.mat | 19 | import libmat.mat |
| 20 | import MAT.strippers | 20 | import libmat.strippers |
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | class MatExtension(GObject.GObject, Nautilus.MenuProvider): | 23 | class MatExtension(GObject.GObject, Nautilus.MenuProvider): |
| @@ -33,7 +33,7 @@ class MatExtension(GObject.GObject, Nautilus.MenuProvider): | |||
| 33 | 33 | ||
| 34 | # We're only going to put ourselves on supported mimetypes' context menus | 34 | # We're only going to put ourselves on supported mimetypes' context menus |
| 35 | if not (file.get_mime_type() | 35 | if not (file.get_mime_type() |
| 36 | in [i["mimetype"] for i in MAT.mat.list_supported_formats()]): | 36 | in [i["mimetype"] for i in libmat.mat.list_supported_formats()]): |
| 37 | logging.debug("%s is not supported by MAT" % file.get_mime_type()) | 37 | logging.debug("%s is not supported by MAT" % file.get_mime_type()) |
| 38 | return | 38 | return |
| 39 | 39 | ||
| @@ -70,7 +70,7 @@ class MatExtension(GObject.GObject, Nautilus.MenuProvider): | |||
| 70 | 70 | ||
| 71 | file_path = urllib.unquote(file.get_uri()[7:]) | 71 | file_path = urllib.unquote(file.get_uri()[7:]) |
| 72 | 72 | ||
| 73 | class_file = MAT.mat.create_class_file(file_path, | 73 | class_file = libmat.mat.create_class_file(file_path, |
| 74 | backup=True, | 74 | backup=True, |
| 75 | add2archive=False) | 75 | add2archive=False) |
| 76 | if class_file: | 76 | if class_file: |
