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:
@@ -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) + \
|
||||
|
||||
Reference in New Issue
Block a user