summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@gmail.com>2012-12-13 13:28:54 -0500
committerDavid Zeuthen <zeuthen@gmail.com>2012-12-13 13:28:54 -0500
commit693e4262ce93f7943cc88ca32b0671dcc654056a (patch)
tree56881d18da2fac605d74ef8dd86994b16161fc16 /data
parent116968f4dffd05782a44586678e61ebd3d2a8908 (diff)
Introduce new Job:Bytes and Job:Rate properties
This allows GUI apps to show more detailed information, see e.g. http://people.freedesktop.org/~david/udisks-job-with-rate-and-bytes-info.png Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Diffstat (limited to 'data')
-rw-r--r--data/org.freedesktop.UDisks2.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/org.freedesktop.UDisks2.xml b/data/org.freedesktop.UDisks2.xml
index 49d08fb..9a2c4d6 100644
--- a/data/org.freedesktop.UDisks2.xml
+++ b/data/org.freedesktop.UDisks2.xml
@@ -2081,6 +2081,31 @@
<!-- ProgressValid: Set to %TRUE if the #org.freedesktop.UDisks2.Job:Progress is valid. -->
<property name="ProgressValid" type="b" access="read"/>
+ <!-- Bytes:
+ @since: 2.1
+ If the job involves processing a known number of bytes (for
+ example, erasing a disk), this property contains the total
+ number of bytes to process. If not, the value of this
+ property is zero.
+
+ The intent of this property is for user interfaces to convey
+ information such as <quote>123 GB of 1.0 TB completed</quote>.
+ -->
+ <property name="Bytes" type="t" access="read"/>
+
+ <!-- Rate:
+ @since: 2.1
+ If the job involves processing a number of bytes (for
+ example, erasing) and the rate at which the processing takes
+ place is known, this property contains the rate (measured in
+ bytes per second). Otherwise the value of this property is
+ zero.
+
+ The intent of this property is for user interfaces to convey
+ information such as <quote>110 MB/sec</quote>.
+ -->
+ <property name="Rate" type="t" access="read"/>
+
<!-- StartTime:
The point in time (micro-seconds since the <ulink