Logo Search packages:      
Sourcecode: wicd version File versions

def wicd::gui::appGui::update_connect_buttons (   self,
  state = None,
  x = None,
  force_check = False 
)

Updates the connect/disconnect buttons for each network entry. 

Definition at line 1649 of file gui.py.

01649                                                                            :
        """ Updates the connect/disconnect buttons for each network entry. """
        if not state:
            state, x = daemon.GetConnectionStatus()
        
        if self.prev_state != state or force_check:
            apbssid = wireless.GetApBssid()
            for entry in self.network_list:
                if hasattr(entry, "update_connect_button"):
                    entry.update_connect_button(state, apbssid)
        self.prev_state = state
    
    def check_for_wired(self, wired_ip):


Generated by  Doxygen 1.6.0   Back to index