Hi Mikel, On Tue, May 29, 2012 at 12:23 PM, Mikel Astiz <mikel.astiz.oss@xxxxxxxxx> wrote: > From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx> > > The number of transferred bytes is exposed in D-Bus using a specific > property for this purpose. > > Internally, the value of this property does not necessarily match the > internal progress counter. In order to avoid D-Bus overhead, the > property will be updated once per second. > --- > client/transfer.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 files changed, 64 insertions(+), 2 deletions(-) > > diff --git a/client/transfer.c b/client/transfer.c > index 8292265..c1bd4be 100644 > --- a/client/transfer.c > +++ b/client/transfer.c > @@ -75,6 +75,8 @@ struct obc_transfer { > guint xfer; > gint64 size; > gint64 transferred; > + gint64 transferred_dbus; > + guint progress_id; > }; I would call transferred_dbus just progress since the property is Progress, the rest looks fine. -- Luiz Augusto von Dentz -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html