From 719cdf20fa8c9921b81eaf6bf3df0d50c790de82 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 24 Sep 2018 20:15:07 +0200 Subject: Second pass of minor formatting --- nautilus/mat2.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'nautilus') diff --git a/nautilus/mat2.py b/nautilus/mat2.py index 133c56d..af49323 100644 --- a/nautilus/mat2.py +++ b/nautilus/mat2.py @@ -104,7 +104,6 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW box.add(self.__create_treeview()) window.show_all() - @staticmethod def __validate(fileinfo) -> Tuple[bool, str]: """ Validate if a given file FileInfo `fileinfo` can be processed. @@ -115,7 +114,6 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW return False, "Not writeable" return True, "" - def __create_treeview(self) -> Gtk.TreeView: liststore = Gtk.ListStore(GdkPixbuf.Pixbuf, str, str) treeview = Gtk.TreeView(model=liststore) @@ -148,7 +146,6 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW treeview.show_all() return treeview - def __create_progressbar(self) -> Gtk.ProgressBar: """ Create the progressbar used to notify that files are currently being processed. @@ -211,7 +208,6 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW processing_queue.put(None) # signal that we processed all the files return True - def __cb_menu_activate(self, menu, files): """ This method is called when the user clicked the "clean metadata" menu item. @@ -228,7 +224,6 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW thread.daemon = True thread.start() - def get_background_items(self, window, file): """ https://bugzilla.gnome.org/show_bug.cgi?id=784278 """ return None -- cgit v1.3