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

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

It checks if the install button is enabled or not

@return: True if the install button is enabled. False, otherwise.

Definition at line 408 of file ubuntu.py.

00408                                 :
        """
        It checks if the install button is enabled or not

        @return: True if the install button is enabled. False, otherwise.
        """

        try:
            updateManager = ooldtp.context(self.name)
        except ldtp.LdtpExecutionError:
            raise ldtp.LdtpExecutionError, "The Update Manager window was not found."
        
        try:
            btnTest = updateManager.getchild(self.BTN_INSTALL)
            state = btnTest.stateenabled()
        except ldtp.LdtpExecutionError:
            raise ldtp.LdtpExecutionError, "The install button was not found."
        
        return state

    def show_changes(self):


Generated by  Doxygen 1.6.0   Back to index