diff options
author | Dan Williams <dcbw@redhat.com> | 2007-08-30 06:01:12 (GMT) |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2007-08-30 06:01:12 (GMT) |
commit | 82a869fbbf33c91c71d57eb3644eedb5f8bcffbf (patch) | |
tree | bf604ef57f75711449d318abf77257b8ae388d12 /shell/view/home | |
parent | 55c6547fbf4d04c3a070dfa06d4ea1baab4fa0ef (diff) |
Add palette to Wireless device on Home view showing channel too
Convert the tooltip to a palette and show the wireless
channel in the palette.
Diffstat (limited to 'shell/view/home')
-rw-r--r-- | shell/view/home/MeshBox.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/view/home/MeshBox.py b/shell/view/home/MeshBox.py index 4d6bde4..8d3bdf5 100644 --- a/shell/view/home/MeshBox.py +++ b/shell/view/home/MeshBox.py @@ -49,6 +49,10 @@ class AccessPointView(PulsingIcon): model.connect('notify::name', self._name_changed_cb) model.connect('notify::state', self._state_changed_cb) + (stroke, fill) = model.get_nm_network().get_colors() + self._device_stroke = stroke + self._device_fill = fill + import sha sh = sha.new() data = self._model.props.name + hex(self._model.props.capabilities) + \ |