[modules/disk] Remove "custom" instance callback
This callback just makes it really hard to see for the user what is going on. The alias the user provides should *always* match the instance, so that it can be used in a meaningful way in the click action, for example (otherwise, something like "nautilus {instance}" gets really hard to interpret.
This commit is contained in:
parent
67142d642b
commit
e889098c77
1 changed files with 0 additions and 3 deletions
|
@ -31,9 +31,6 @@ class Module(bumblebee.module.Module):
|
||||||
bumblebee.util.bytefmt(self._size), self._perc)
|
bumblebee.util.bytefmt(self._size), self._perc)
|
||||||
)
|
)
|
||||||
|
|
||||||
def instance(self, widget=None):
|
|
||||||
return self._path
|
|
||||||
|
|
||||||
def warning(self, widget):
|
def warning(self, widget):
|
||||||
return self._perc > self._config.parameter("warning", 80)
|
return self._perc > self._config.parameter("warning", 80)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue