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 = {
|
const PowerManagerInterface = {
|
||||||
name: 'org.gnome.SettingsDaemon.Power',
|
name: 'org.gnome.SettingsDaemon.Power',
|
||||||
methods: [
|
methods: [
|
||||||
{ name: 'GetDevices', inSignature: '', outSignature: 'a(susbut)' },
|
{ name: 'GetDevices', inSignature: '', outSignature: 'a(susdut)' },
|
||||||
{ name: 'GetPrimaryDevice', inSignature: '', outSignature: '(susbut)' },
|
{ name: 'GetPrimaryDevice', inSignature: '', outSignature: '(susdut)' },
|
||||||
],
|
],
|
||||||
signals: [
|
signals: [
|
||||||
{ name: 'Changed', inSignature: '' },
|
{ name: 'Changed', inSignature: '' },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user