diff options
| author | jvoisin | 2018-09-24 20:15:07 +0200 |
|---|---|---|
| committer | jvoisin | 2018-09-24 20:15:07 +0200 |
| commit | 719cdf20fa8c9921b81eaf6bf3df0d50c790de82 (patch) | |
| tree | 2da79f90984aee0bdcd5036c0608d463cc1a07f4 /nautilus | |
| parent | 2e243355f51654c8c6392c80a17b090f9f012fd1 (diff) | |
Second pass of minor formatting
Diffstat (limited to 'nautilus')
| -rw-r--r-- | nautilus/mat2.py | 5 |
1 files changed, 0 insertions, 5 deletions
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 | |||
| 104 | box.add(self.__create_treeview()) | 104 | box.add(self.__create_treeview()) |
| 105 | window.show_all() | 105 | window.show_all() |
| 106 | 106 | ||
| 107 | |||
| 108 | @staticmethod | 107 | @staticmethod |
| 109 | def __validate(fileinfo) -> Tuple[bool, str]: | 108 | def __validate(fileinfo) -> Tuple[bool, str]: |
| 110 | """ Validate if a given file FileInfo `fileinfo` can be processed. | 109 | """ Validate if a given file FileInfo `fileinfo` can be processed. |
| @@ -115,7 +114,6 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW | |||
| 115 | return False, "Not writeable" | 114 | return False, "Not writeable" |
| 116 | return True, "" | 115 | return True, "" |
| 117 | 116 | ||
| 118 | |||
| 119 | def __create_treeview(self) -> Gtk.TreeView: | 117 | def __create_treeview(self) -> Gtk.TreeView: |
| 120 | liststore = Gtk.ListStore(GdkPixbuf.Pixbuf, str, str) | 118 | liststore = Gtk.ListStore(GdkPixbuf.Pixbuf, str, str) |
| 121 | treeview = Gtk.TreeView(model=liststore) | 119 | treeview = Gtk.TreeView(model=liststore) |
| @@ -148,7 +146,6 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW | |||
| 148 | treeview.show_all() | 146 | treeview.show_all() |
| 149 | return treeview | 147 | return treeview |
| 150 | 148 | ||
| 151 | |||
| 152 | def __create_progressbar(self) -> Gtk.ProgressBar: | 149 | def __create_progressbar(self) -> Gtk.ProgressBar: |
| 153 | """ Create the progressbar used to notify that files are currently | 150 | """ Create the progressbar used to notify that files are currently |
| 154 | being processed. | 151 | being processed. |
| @@ -211,7 +208,6 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW | |||
| 211 | processing_queue.put(None) # signal that we processed all the files | 208 | processing_queue.put(None) # signal that we processed all the files |
| 212 | return True | 209 | return True |
| 213 | 210 | ||
| 214 | |||
| 215 | def __cb_menu_activate(self, menu, files): | 211 | def __cb_menu_activate(self, menu, files): |
| 216 | """ This method is called when the user clicked the "clean metadata" | 212 | """ This method is called when the user clicked the "clean metadata" |
| 217 | menu item. | 213 | menu item. |
| @@ -228,7 +224,6 @@ class ColumnExtension(GObject.GObject, Nautilus.MenuProvider, Nautilus.LocationW | |||
| 228 | thread.daemon = True | 224 | thread.daemon = True |
| 229 | thread.start() | 225 | thread.start() |
| 230 | 226 | ||
| 231 | |||
| 232 | def get_background_items(self, window, file): | 227 | def get_background_items(self, window, file): |
| 233 | """ https://bugzilla.gnome.org/show_bug.cgi?id=784278 """ | 228 | """ https://bugzilla.gnome.org/show_bug.cgi?id=784278 """ |
| 234 | return None | 229 | return None |
