sugar-toolkit-gtk3/shell/model/devices/network/wired.py
2007-04-04 23:48:09 -04:00

13 lines
292 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 str(self._nm_device.get_op())
def get_type(self):
return 'network.wired'