[gnome-shell] power-status: Use correct DBus signatures



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]