diff options
author | Alexander Cherniuk <ts33kr@gmail.com> | 2009-11-25 17:41:44 +0300 |
---|---|---|
committer | Alexander Cherniuk <ts33kr@gmail.com> | 2009-11-25 17:41:44 +0300 |
commit | f7b7e59935105c1fe394dd9e36c89a405cec95ad (patch) | |
tree | 74a51d2d3b9e000dedfed0a88f23fbfe65b7a13d /src/advanced_configuration_window.py | |
parent | 0ee0ade03a46dffa368e2551d510d59faba09f55 (diff) |
More doc-string refactoring
Diffstat (limited to 'src/advanced_configuration_window.py')
-rw-r--r-- | src/advanced_configuration_window.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/advanced_configuration_window.py b/src/advanced_configuration_window.py index c56ee27ad..b35461287 100644 --- a/src/advanced_configuration_window.py +++ b/src/advanced_configuration_window.py @@ -43,7 +43,9 @@ C_TYPE GTKGUI_GLADE = 'manage_accounts_window.glade' def rate_limit(rate): - ''' call func at most *rate* times per second ''' + """ + Call func at most *rate* times per second + """ def decorator(func): timeout = [None] def f(*args, **kwargs): @@ -131,8 +133,10 @@ class AdvancedConfigurationWindow(object): gajim.interface.instances['advanced_config'] = self def cb_value_column_data(self, col, cell, model, iter_): - '''check if it's boolen or holds password stuff and if yes - make the cellrenderertext not editable else it's editable''' + """ + Check if it's boolen or holds password stuff and if yes make the + cellrenderertext not editable, else - it's editable + """ optname = model[iter_][C_PREFNAME] opttype = model[iter_][C_TYPE] if opttype == self.types['boolean'] or optname == 'password': |