Browse Source

transfer-download: log on connection and transfer start

bboozzoo/dbus-support-fileshare
Maciek Borzecki 7 years ago
parent
commit
be58f7b02d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/mconnect/transfer-download.vala

+ 2
- 0
src/mconnect/transfer-download.vala View File

@ -46,6 +46,7 @@ class DownloadTransfer : Object {
return false; return false;
} }
debug("start transfer from %s", this.isa.to_string());
var client = new SocketClient(); var client = new SocketClient();
client.connect_async.begin(this.isa, null, this.connected); client.connect_async.begin(this.isa, null, this.connected);
return true; return true;
@ -68,6 +69,7 @@ class DownloadTransfer : Object {
} }
private void start_transfer() { private void start_transfer() {
debug("connected, start transfer");
this.transfer = new Transfer(this.conn.input_stream, this.transfer = new Transfer(this.conn.input_stream,
this.foutstream); this.foutstream);
this.transfer.progress.connect((t, done) => { this.transfer.progress.connect((t, done) => {


Loading…
Cancel
Save