Logo Search packages:      
Sourcecode: mago version File versions  Download package

def mago::application::ubuntu::UpdateManager::unselect_all (   self  ) 

It unselects all the available updates 

Definition at line 232 of file ubuntu.py.

00232                           :
        """
        It unselects all the available updates 
        """
        updateManager = ooldtp.context(self.name) 

        try:
            table  = updateManager.getchild(self.TBL_UPDATES, role = 'table')
            updates_table = table[0]

            # TODO: When table admits right click, use the context menu
            self.remap()
            size_updates = self.download_size()
            while size_updates > 0:
                for i in range(0, updates_table.getrowcount(), 1):
                    updates_table.uncheckrow(i)
                    ldtp.wait(1)
                self.remap()
                size_updates = self.download_size()
 
        except ldtp.LdtpExecutionError:
            raise ldtp.LdtpExecutionError, "Error getting the updates table."

        return 0

    def get_available_updates(self):


Generated by  Doxygen 1.6.0   Back to index