[Spice-devel] [PATCH spice-gtk V2 0/3] simply implement of file drag-and-drop
Dunrong Huang
riegamaths at gmail.com
Fri Nov 23 03:11:37 PST 2012
These patches simply implement file drag-and-drop from client to guest.
I think this patches can be merge upstream soonish as a first version
if protocol related file transfer is stable.
V1 -> V2:
* Address Marc-André and hans's comments, most of the code are rewritten.
* Move all file operation to the channel level
* Use glib API for file operations
* spice protocol related file transfer has been extended for the future's work
* Only export a single API spice_main_file_xfer()
Comments are welcome, please review!
Dunrong Huang (3):
drag-n-drop: handling various transfer messages in main channel
drag-n-drop: handle "drag-data-received" signal
drag-n-drop: disable drag-n-dop when agent is not connected
gtk/channel-main.c | 215 +++++++++++++++++++++++++++++++++++++++++++++++-
gtk/channel-main.h | 1 +
gtk/map-file | 1 +
gtk/spice-glib-sym-file | 1 +
gtk/spice-widget.c | 42 ++++++++++
5 files changed, 259 insertions(+), 1 deletion(-)
--
1.8.0
More information about the Spice-devel
mailing list