Commit 07716dae authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot

Use staticmethod decorator where it makes sense.

parent 51eb62bb
......@@ -150,7 +150,8 @@ class AdvancedConfigurationWindow(object):
cell.set_property('editable', True)
def get_option_path(self, model, iter_):
def get_option_path(model, iter_):
# It looks like path made from reversed array
# path[0] is the true one optname
# path[1] is the key name
......@@ -255,7 +256,8 @@ class AdvancedConfigurationWindow(object):
modelrow[1] = text
def on_advanced_configuration_window_destroy(self, widget):
def on_advanced_configuration_window_destroy(widget):
del gajim.interface.instances['advanced_config']
def on_reset_button_clicked(self, widget):
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment