Thanks, applied. On 03.07.2014 13:33 UTC+0200, Ben Deering wrote: > fsodeviced supports a single vibrator device, updated accesses to the > vibrator to use Vibrator instead of Vibrator/# > > Signed-off-by: Ben Deering <ben_deer...@swissmail.org> > --- > framework/subsystems/oeventsd/fso_actions.py | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/framework/subsystems/oeventsd/fso_actions.py > b/framework/subsystems/oeventsd/fso_actions.py > index 9df0d87..72bf44b 100644 > --- a/framework/subsystems/oeventsd/fso_actions.py > +++ b/framework/subsystems/oeventsd/fso_actions.py > @@ -160,13 +160,13 @@ class VibratorAction(Action): > if self.mode == "continuous": > DBusAction(dbus.SystemBus(), > 'org.freesmartphone.odeviced', > - '/org/freesmartphone/Device/Vibrator/%s' % > self.target, > + '/org/freesmartphone/Device/Vibrator', > 'org.freesmartphone.Device.Vibrator', > 'VibratePattern', 999, 300, 700, 90).trigger() > elif self.mode == "oneshot": > DBusAction(dbus.SystemBus(), > 'org.freesmartphone.odeviced', > - '/org/freesmartphone/Device/Vibrator/%s' % > self.target, > + '/org/freesmartphone/Device/Vibrator', > 'org.freesmartphone.Device.Vibrator', > 'Vibrate', 400, 90).trigger() > else: > @@ -175,7 +175,7 @@ class VibratorAction(Action): > def untrigger(self, **kargs): > DBusAction(dbus.SystemBus(), > 'org.freesmartphone.odeviced', > - '/org/freesmartphone/Device/Vibrator/%s' % self.target, > + '/org/freesmartphone/Device/Vibrator', > 'org.freesmartphone.Device.Vibrator', > 'Stop').trigger() > >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Shr-devel mailing list Shr-devel@lists.shr-project.org http://lists.shr-project.org/mailman/listinfo/shr-devel