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.
This commit is contained in:
Dan Williams
2007-08-30 02:01:12 -04:00
parent 55c6547fbf
commit 82a869fbbf
5 changed files with 111 additions and 13 deletions
+4
View File
@@ -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) + \