diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-06 01:48:03 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-06 01:48:03 (GMT) |
commit | a1b6625a6a05b1aa8e005420a2a783365827979e (patch) | |
tree | 4af84c19ac32fb574fcf733dce80f669a5384da8 /shell/model/devices/battery.py | |
parent | 05379e85c1ee8b2435739582e60c193f4b3cce92 (diff) |
Fix some style nitpicks
Diffstat (limited to 'shell/model/devices/battery.py')
-rw-r--r-- | shell/model/devices/battery.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/shell/model/devices/battery.py b/shell/model/devices/battery.py index b74d6dc..cdb4994 100644 --- a/shell/model/devices/battery.py +++ b/shell/model/devices/battery.py @@ -25,10 +25,12 @@ _DISCHARGING_PROP = 'battery.rechargeable.is_discharging' class Device(device.Device): __gproperties__ = { - 'level' : (int, None, None, 0, 100, 0, - gobject.PARAM_READABLE), - 'charging' : (bool, None, None, False, gobject.PARAM_READABLE), - 'discharging' : (bool, None, None, False, gobject.PARAM_READABLE) + 'level' : (int, None, None, 0, 100, 0, + gobject.PARAM_READABLE), + 'charging' : (bool, None, None, False, + gobject.PARAM_READABLE), + 'discharging' : (bool, None, None, False, + gobject.PARAM_READABLE) } def __init__(self, udi): |