Fix pylint errors
This commit is contained in:
parent
32168c60f5
commit
45ac229fb1
|
@ -280,10 +280,11 @@ class Commands(Gtk.Box):
|
|||
self.pack_start(self._scrolled, True, True, 0)
|
||||
self.show_all()
|
||||
|
||||
def _search_func(self, model, column, search_text, iter_):
|
||||
@staticmethod
|
||||
def _search_func(model, _column, search_text, iter_):
|
||||
return search_text.lower() not in model[iter_][0].lower()
|
||||
|
||||
def _on_row_activate(self, tree_view, path, column):
|
||||
def _on_row_activate(self, _tree_view, _path, _column):
|
||||
self.get_toplevel().execute_action()
|
||||
|
||||
def add_commands(self, commands):
|
||||
|
|
Loading…
Reference in New Issue