Adapt to olpc-hardware-manager API change

This commit is contained in:
Marco Pesenti Gritti 2007-01-08 15:00:22 +01:00
parent 3f847008af
commit 764eee81e5

View File

@ -31,7 +31,7 @@ class HardwareManager(object):
self._service = dbus.Interface(proxy, HARDWARE_MANAGER_INTERFACE) self._service = dbus.Interface(proxy, HARDWARE_MANAGER_INTERFACE)
def set_display_mode(self, mode): def set_display_mode(self, mode):
self._service.set_mode(mode) self._service.set_display_mode(mode)
def set_display_brightness(self, level): def set_display_brightness(self, level):
self._service.set_display_brightness(level) self._service.set_display_brightness(level)