1
0
mirror of synced 2024-11-24 18:24:23 +01:00

typo fixes in nautilus/mat2.py

This commit is contained in:
rhamnousia 2020-06-29 08:39:07 -04:00 committed by georg
parent 60d820b053
commit 17919c73a9
No known key found for this signature in database
GPG Key ID: 461BEE5D240A9E91

View File

@ -2,7 +2,7 @@
""" """
Because writing GUI is non-trivial (cf. https://0xacab.org/jvoisin/mat2/issues/3), Because writing GUI is non-trivial (cf. https://0xacab.org/jvoisin/mat2/issues/3),
we decided to write a Nautilus extensions instead we decided to write a Nautilus extension instead
(cf. https://0xacab.org/jvoisin/mat2/issues/2). (cf. https://0xacab.org/jvoisin/mat2/issues/2).
The code is a little bit convoluted because Gtk isn't thread-safe, The code is a little bit convoluted because Gtk isn't thread-safe,
@ -36,7 +36,7 @@ def _remove_metadata(fpath) -> Tuple[bool, Optional[str]]:
return parser.remove_all(), mtype return parser.remove_all(), mtype
class Mat2Extension(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-click menu in Nautilus. """
def __init__(self): def __init__(self):
super().__init__() super().__init__()