[gnome-shell] power-status: Use correct DBus signatures
- From: Florian MÃllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] power-status: Use correct DBus signatures
- Date: Wed, 28 Sep 2011 19:06:37 +0000 (UTC)
commit 9067689839cbf163a2f7ffbf8cb2eeb7b6d90ff7
Author: Florian MÃllner <fmuellner gnome org>
Date: Mon Sep 26 13:51:48 2011 +0200
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/power.js b/js/ui/status/power.js
index 6e319e8..a48aac5 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: '' },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]