Added missing <node> element to dbus interface specification

Fixes #104 and #107.
This commit is contained in:
Marcel Metz
2014-06-03 10:02:51 +02:00
parent 685c2a7f23
commit e6d4dbfcd3

View File

@@ -7,14 +7,18 @@ const Gettext = imports.gettext.domain(Me.metadata['gettext-domain']);
const _ = Gettext.gettext;
const UDisksDriveProxy = Gio.DBusProxy.makeProxyWrapper(
<interface name="org.freedesktop.UDisks2.Drive">
<property type="s" name="Model" access="read"/>
</interface>);
<node>
<interface name="org.freedesktop.UDisks2.Drive">
<property type="s" name="Model" access="read"/>
</interface>
</node>);
const UDisksDriveAtaProxy = Gio.DBusProxy.makeProxyWrapper(
<interface name="org.freedesktop.UDisks2.Drive.Ata">
<property type="d" name="SmartTemperature" access="read"/>
</interface>);
<node>
<interface name="org.freedesktop.UDisks2.Drive.Ata">
<property type="d" name="SmartTemperature" access="read"/>
</interface>
</node>);
function detectSensors() {
let path = GLib.find_program_in_path('sensors');