diff options
author | Benjamin Otte <otte@gnome.org> | 2009-06-10 11:36:22 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-06-10 17:06:41 +0200 |
commit | df5339b873f1f1e9dd1c1d9fe113a16b52808213 (patch) | |
tree | aa608caef85ce21f3e67e59fa8b895706c982088 /daemon/gvfsjobpush.h | |
parent | 060d792d9a47009e33ee01aac0706893deb80e9b (diff) | |
download | gvfs-df5339b873f1f1e9dd1c1d9fe113a16b52808213.tar.gz |
signal the need for updates (changes wire protocol and internal API)
Send a boolean send_progress to the daemon in the case of push/pull jobs
that indicates if progress updates should be sent to the client.
Oftentimes the daemons can avoid quite a bit of work (like querying file
sizes or setting up and operating machinery required to send progress
updates) when it's not required.
Patch also includes fixes to daemons to ensure they don't call a NULL
progress_callback (previously, NULL was not a possible value).
Diffstat (limited to 'daemon/gvfsjobpush.h')
-rw-r--r-- | daemon/gvfsjobpush.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gvfsjobpush.h b/daemon/gvfsjobpush.h index c7aabcba..291f7053 100644 --- a/daemon/gvfsjobpush.h +++ b/daemon/gvfsjobpush.h @@ -48,6 +48,7 @@ struct _GVfsJobPush char *local_path; GFileCopyFlags flags; char *callback_obj_path; + gboolean send_progress; gboolean remove_source; }; |