[core] Remove alias from module
Hide alias concept for modules in the engine. That way, the individual modules never get to know about whether a module has been aliased or not. see #23
This commit is contained in:
parent
f306366629
commit
2f3f171ca5
21 changed files with 48 additions and 45 deletions
|
@ -12,8 +12,8 @@ def parameters():
|
|||
]
|
||||
|
||||
class Module(bumblebee.module.Module):
|
||||
def __init__(self, output, config, alias):
|
||||
super(Module, self).__init__(output, config, alias)
|
||||
def __init__(self, output, config):
|
||||
super(Module, self).__init__(output, config)
|
||||
self._path = self._config.parameter("path", "/")
|
||||
|
||||
output.add_callback(module=self.instance(), button=1, cmd="nautilus {}".format(self._path))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue