diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-10-20 17:56:08 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-10-20 17:56:08 (GMT) |
| commit | fc502cdcaa96975cb9b503a82de5b0be9d09caff (patch) | |
| tree | 447767e16709c79ad91523afb95ab40679d1dfda | |
| parent | 52de478682bd88dc80bff53d96b0d9132e3f1978 (diff) | |
widgets: Rename StatusBar to NotificaitonBar
This is not (yet) a useful change but we'll be creating a new StatusBar
soon.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
| -rw-r--r-- | wasp/apps/clock.py | 2 | ||||
| -rw-r--r-- | wasp/apps/fibonacci_clock.py | 2 | ||||
| -rw-r--r-- | wasp/widgets.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/wasp/apps/clock.py b/wasp/apps/clock.py index 17485c0..88ed2c7 100644 --- a/wasp/apps/clock.py +++ b/wasp/apps/clock.py @@ -40,7 +40,7 @@ class ClockApp(): def __init__(self): self.meter = wasp.widgets.BatteryMeter() - self.notifier = wasp.widgets.StatusBar() + self.notifier = wasp.widgets.NotificationBar() def foreground(self): """Activate the application.""" diff --git a/wasp/apps/fibonacci_clock.py b/wasp/apps/fibonacci_clock.py index 5e3d27f..de59bc3 100644 --- a/wasp/apps/fibonacci_clock.py +++ b/wasp/apps/fibonacci_clock.py @@ -54,7 +54,7 @@ class FibonacciClockApp(): def __init__(self): self.meter = wasp.widgets.BatteryMeter() - self.notifier = wasp.widgets.StatusBar() + self.notifier = wasp.widgets.NotificationBar() self.fields = b'\x05\x03\x02\x01\x01' self.color_codes = [0xffff,0xf800,0x07e0,0x001f] # White, red, green and blue diff --git a/wasp/widgets.py b/wasp/widgets.py index c3d3d9d..7b6fc04 100644 --- a/wasp/widgets.py +++ b/wasp/widgets.py @@ -70,7 +70,7 @@ class BatteryMeter: self.level = level -class StatusBar: +class NotificationBar: """Show BT status and if there are pending notifications.""" def __init__(self, x=8, y=8): self._pos = (x, y) |
