Logo Search packages:      
Sourcecode: guidance-power-manager version File versions

def guidance-power-manager::PowerManager::_initBrightness (   self  )  [private]

Check for brightness support and disable widgets if it's not there. 

Definition at line 94 of file guidance-power-manager.py.

00094                              :
        """ Check for brightness support and disable widgets if it's not there. """
        if not self.powermanager.hasBrightness:
            self.PoweredBrightnessLabel.hide()
            self.PoweredBrightnessSlider.hide()
            self.BatteryBrightnessLabel.hide()
            self.BatteryBrightnessSlider.hide()

    def _initLid(self):


Generated by  Doxygen 1.6.0   Back to index