コード例 #1
0
 def __init__(self, ap, spec_connection=None):
     Settings.__init__(self, Sections)
     if ap:
         self.crumb_name = ap.get_ssid()
     else:
         self.crumb_name = ""
     self.ap = ap
     self.spec_connection = spec_connection
コード例 #2
0
 def __init__(self, ap, spec_connection=None):
     Settings.__init__(self, Sections)
     if ap:
         self.crumb_name = ap.get_ssid()
     else:
         self.crumb_name = ""
     self.ap = ap
     self.spec_connection = spec_connection
コード例 #3
0
 def __init__(self, connection, spec_connection=None):
     Settings.__init__(self, Sections)
     self.connection = connection
     self.spec_connection = spec_connection
     self.crumb_name = _("Hidden network")
     self.ap = None
コード例 #4
0
 def __init__(self, connection, spec_connection=None):
     Settings.__init__(self, Sections)
     self.connection = connection
     self.spec_connection = spec_connection
     self.crumb_name = _("Hidden network")
     self.ap = None
コード例 #5
0
 def __init__(self, spec_connection=None):
     Settings.__init__(self, Sections)
     self.crumb_name = _("DSL")
     self.spec_connection= spec_connection
     event_manager.emit("update-delete-button", True)
コード例 #6
0
 def __init__(self, spec_connection=None):
     Settings.__init__(self, Sections)
     self.crumb_name = _("Mobile Network")
     self.spec_connection = spec_connection
コード例 #7
0
 def __init__(self, device, spec_connection=None):
     Settings.__init__(self, Sections)
     self.crumb_name = _("Wired")
     self.device = device
     self.spec_connection = spec_connection
     event_manager.emit("update-delete-button", False)
コード例 #8
0
 def __init__(self, spec_connection=None):
     Settings.__init__(self, Sections)
     self.crumb_name = _("VPN")
     self.spec_connection = spec_connection
     event_manager.emit("update-delete-button", True)