aboutsummaryrefslogtreecommitdiffstats
path: root/fsotdld/src
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-08-31 19:33:37 +0200
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2010-08-31 19:33:37 +0200
commit92cc73e57e1c13b789c85d8de7da5ce22364c722 (patch)
tree61a1dd96c9e8b14f2dced1102d6bbf7c96e060f3 /fsotdld/src
parent625f0b31c87050692b0168bac97288ea42b1d2f9 (diff)
downloadcornucopia-92cc73e57e1c13b789c85d8de7da5ce22364c722.tar.gz
cornucopia-92cc73e57e1c13b789c85d8de7da5ce22364c722.tar.bz2
cornucopia-92cc73e57e1c13b789c85d8de7da5ce22364c722.zip
fsotdld: register dbus object at location path
Diffstat (limited to 'fsotdld/src')
-rw-r--r--fsotdld/src/plugins/location/plugin.vala6
1 files changed, 5 insertions, 1 deletions
diff --git a/fsotdld/src/plugins/location/plugin.vala b/fsotdld/src/plugins/location/plugin.vala
index a964f1bf..0f2256d6 100644
--- a/fsotdld/src/plugins/location/plugin.vala
+++ b/fsotdld/src/plugins/location/plugin.vala
@@ -54,6 +54,10 @@ class Location.Service : FreeSmartphone.Location, FsoFramework.AbstractObject
providers[ typ.name() ] = obj;
}
+ subsystem.registerServiceName( FsoFramework.Time.ServiceDBusName );
+ subsystem.registerServiceObject( FsoFramework.Time.ServiceDBusName,
+ FsoFramework.Time.LocationServicePath, this );
+
logger.info( "Ready." );
Timeout.add_seconds( 2, () => {
@@ -75,7 +79,7 @@ class Location.Service : FreeSmartphone.Location, FsoFramework.AbstractObject
//
private void onLocationUpdate( FsoTdl.ILocationProvider provider, HashTable<string,Value?> location )
{
- debug( "got location update from %s", provider.repr() );
+ logger.debug( @"Got location update from $(provider.get_type().name())" );
}
}