1
0
mirror of synced 2024-11-25 18:54:22 +01:00

Rename the internal class used by the nautilus extension

This should solve collisions with people like me that
are copy/pasting the documentation, creating conflicts
with other extensions that are doing the very same thing.
This commit is contained in:
jvoisin 2019-01-16 23:10:17 +01:00
parent 94cdca1ed2
commit 812bf2553b

View File

@ -35,7 +35,7 @@ def _remove_metadata(fpath) -> Tuple[bool, Optional[str]]:
return False, mtype return False, mtype
return parser.remove_all(), mtype return parser.remove_all(), mtype
class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationWidgetProvider): class Mat2Extension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationWidgetProvider):
""" This class adds an item to the right-clic menu in Nautilus. """ """ This class adds an item to the right-clic menu in Nautilus. """
def __init__(self): def __init__(self):