diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-04 01:23:11 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-09 16:38:02 +0200 |
| commit | 6d3aef271875eba7a3867259f2089e3801141b19 (patch) | |
| tree | fb8d639dd84c3c0242cd8bf5ea8f73b83a4c0bc8 /libdino/src/entity/file_transfer.vala | |
| parent | f3c50f07395f0e3331c4389015fe26ef53213c83 (diff) | |
| download | dino-6d3aef271875eba7a3867259f2089e3801141b19.tar.gz | |
Show file upload/download progress
Fixes upstream issue #1350.
Notes:
Image uploads were incorrectly handled by Dino, as they were always
reported as completed even if they were not, maybe so as to show the
image preview from the start. Now, Dino shows the upload progress for
all file types, and the image is only shown when completed.
Diffstat (limited to 'libdino/src/entity/file_transfer.vala')
| -rw-r--r-- | libdino/src/entity/file_transfer.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdino/src/entity/file_transfer.vala b/libdino/src/entity/file_transfer.vala index 20bc1a7a..b58348a0 100644 --- a/libdino/src/entity/file_transfer.vala +++ b/libdino/src/entity/file_transfer.vala @@ -70,6 +70,7 @@ public class FileTransfer : Object { public State state { get; set; default=State.NOT_STARTED; } public int provider { get; set; } public string info { get; set; } + public uint64 transferred_bytes {get; set; } public Cancellable cancellable { get; default=new Cancellable(); } private Database? db; |
