Logo Search packages:      
Sourcecode: wicd version File versions

def wicd::gui::appGui::connect (   self,
  widget,
  event,
  nettype,
  networkid,
  networkentry 
)

Initiates the connection process in the daemon. 

Definition at line 1967 of file gui.py.

01967                                                                       :
        """ Initiates the connection process in the daemon. """
        cancel_button = self.wTree.get_widget("cancel_button")
        cancel_button.set_sensitive(True)
        if nettype == "wireless":
            if not self.check_encryption_valid(networkid,
                                               networkentry.advanced_dialog):
                return False
            wireless.ConnectWireless(networkid)
        elif nettype == "wired":
            wired.ConnectWired()
        self.update_statusbar()
        
    def disconnect(self, widget, event, nettype, networkid, networkentry):


Generated by  Doxygen 1.6.0   Back to index