[core] Refactor -> replace some getter/setter pairs with attributes
Remove some set_* methods and replace them with a simple attribute. see #23
This commit is contained in:
parent
068968bbf5
commit
e59e969bdc
7 changed files with 16 additions and 21 deletions
|
@ -63,7 +63,7 @@ class Theme(object):
|
|||
|
||||
def _get(self, widget, name, default=None):
|
||||
"""Return the config value 'name' for 'widget'"""
|
||||
module_theme = self._theme.get(widget.module(), {})
|
||||
module_theme = self._theme.get(widget.module, {})
|
||||
|
||||
padding = None
|
||||
if name != "padding":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue