summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2008-11-11 10:42:53 -0500
committerDavid Zeuthen <davidz@redhat.com>2008-11-11 10:42:53 -0500
commit9f4bdecd33119b53b52a29c9dafb43d119f864c1 (patch)
treedfcbbfc074c48f52d1b7757271c3c3ebb25238c5 /src
parentace8a0a2423dd44220eba0512d23f77aefe33699 (diff)
move object paths so things are rooted under /org/freedesktop/DeviceKit/Power
Diffstat (limited to 'src')
-rw-r--r--src/dkp-daemon.c3
-rw-r--r--src/dkp-device.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/dkp-daemon.c b/src/dkp-daemon.c
index 9ed3d2b..be884e8 100644
--- a/src/dkp-daemon.c
+++ b/src/dkp-daemon.c
@@ -585,7 +585,8 @@ gpk_daemon_register_power_daemon (DkpDaemon *daemon)
polkit_tracker_set_system_bus_connection (daemon->priv->pk_tracker, connection);
polkit_tracker_init (daemon->priv->pk_tracker);
- dbus_g_connection_register_g_object (daemon->priv->system_bus_connection, "/",
+ dbus_g_connection_register_g_object (daemon->priv->system_bus_connection,
+ "/org/freedesktop/DeviceKit/Power",
G_OBJECT (daemon));
daemon->priv->system_bus_proxy = dbus_g_proxy_new_for_name (daemon->priv->system_bus_connection,
diff --git a/src/dkp-device.c b/src/dkp-device.c
index b1f86be..bdd10a5 100644
--- a/src/dkp-device.c
+++ b/src/dkp-device.c
@@ -612,7 +612,7 @@ dkp_device_compute_object_path (DkpDevice *device)
if (id[i] == ':')
id[i] = 'o';
}
- object_path = g_build_filename ("/devices", id, NULL);
+ object_path = g_build_filename ("/org/freedesktop/DeviceKit/Power/devices", id, NULL);
g_free (basename);
g_free (id);