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
This commit is contained in:
parent
4e9e91fdce
commit
9067689839
@ -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: '' },
|
||||
|
Loading…
Reference in New Issue
Block a user