From 9067689839cbf163a2f7ffbf8cb2eeb7b6d90ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 26 Sep 2011 13:51:48 +0200 Subject: [PATCH] power-status: Use correct DBus signatures Devices are represented as susdut, not susbut (i.e. the percentage is a double rather than a boolean) - apparently the wrong signature works, but correct it anyway. https://bugzilla.gnome.org/show_bug.cgi?id=660122 --- js/ui/status/power.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/status/power.js b/js/ui/status/power.js index 6e319e852..a48aac592 100644 --- a/js/ui/status/power.js +++ b/js/ui/status/power.js @@ -43,8 +43,8 @@ const UPDeviceState = { const PowerManagerInterface = { name: 'org.gnome.SettingsDaemon.Power', methods: [ - { name: 'GetDevices', inSignature: '', outSignature: 'a(susbut)' }, - { name: 'GetPrimaryDevice', inSignature: '', outSignature: '(susbut)' }, + { name: 'GetDevices', inSignature: '', outSignature: 'a(susdut)' }, + { name: 'GetPrimaryDevice', inSignature: '', outSignature: '(susdut)' }, ], signals: [ { name: 'Changed', inSignature: '' },