sugar-toolkit-gtk3/shell/model/devices/wirednetwork.py
Marco Pesenti Gritti 7c135804bc Handle device removal
2007-02-25 12:36:44 +01:00

13 lines
286 B
Python

from model.devices import device
class Device(device.Device):
def __init__(self, nm_device):
device.Device.__init__(self)
self._nm_device = device
def get_id(self):
return self._nm_device.get_op()
def get_type(self):
return 'wirednetwork'