summaryrefslogtreecommitdiffstats
path: root/src/spicy.c
Commit message (Collapse)AuthorAgeFilesLines
* Adjust to Gtk+ 3.10Pavel Grunt2016-03-181-16/+0
| | | | | | | | Dependency since f9a1aad85fcc76dd76c454b51fbce5e07c9b145f Remove unneeded GTK_CHECK_VERSION guards Acked-by: Victor Toso <victortoso@redhat.com>
* Adjust to GLib 2.36Pavel Grunt2016-03-181-7/+0
| | | | | | | | Dependency since 8693e7d3f7de1ff102082212fa6e35fb1a252ef7 Remove glib-compat files and most of GLIB_CHECK_VERSION guards Acked-by: Victor Toso <victortoso@redhat.com>
* spicy: s/Automagic/Automatic/Pavel Grunt2016-03-171-1/+1
| | | | Acked-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
* smartcard: Fix compilation with older libcacardChristophe Fergeau2015-12-091-0/+4
| | | | | | | | e0c2182937 dropped some #include from channel-smartcard.c and spicy.c as they were redundant with the headers already included from spice-common/common/messages.h. While this is true for the newer libcacard.h header, we need to include more headers to support older libcacard, or compilation breaks.
* Use libcacard.h if possibleMarc-André Lureau2015-12-081-5/+0
| | | | | | Drop unneeded includes (that are already undirectly included). Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
* spicy: Add support for changing compressionPavel Grunt2015-11-181-0/+63
|
* New file transfer APIJonathon Jongsma2015-10-091-0/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were several shortcomings to the existing file transfer API, particularly in terms of monitoring ongoing file transfers. The major issue is that spice_main_file_copy_async() allows you to pass an array of files, but the progress callback does not provide a way to identify which file the callback is associated with. This makes it nearly impossible for an application to monitor file transfers. In addition, the SpiceDisplay widget automatically handles drag-and-drop actions on the widget, and initiates file transfers without allowing the application to specify a progress callback. So there's no way for an app to monitor file transfers that are initiated via drag and drop. http://lists.freedesktop.org/archives/spice-devel/2015-September/021931.html has a more detailed explanation of the issues. This change doesn't break the existing API, but adds some new API that will allow an application to monitor file transfer progress, even for transfers that are initiated within spice-gtk itself. - A new public SpiceFileTransferTask object is added. - The SpiceMainChannel object gains a "new-file-transfer" signal that is emitted whenever a new file transfer is initiated. The SpiceFileTransferTask object is passed to the signal handler. - The application can retain this object and monitor its 'progress' property to be notified when the progress of the file transfer changes. The SpiceFileTransferTask::finished signal indicates when the given file transfer has completed. The application can also cancel the file transfer by calling the _cancel() method. The 'spicy' test application has been updated to use this new API and display a simple dialog showing the progress of individual files.
* spicy-*: Remove translation supportChristophe Fergeau2015-06-191-45/+41
| | | | | These are only meant to be test tools so they don't need to be translated.
* spicy: Enable recent chooser on windowsLukas Venhoda2015-06-181-4/+0
| | | | Recent chooser is working correctly in windows.
* spicy: Changed the dialog into a windowLukas Venhoda2015-06-181-4/+2
| | | | | | | | | Changed connect dialog from GtkDialog to GtkWindow. Added the necessary signals and buttons, to keep then behaviour of a dialog (ESC to close, ENTER to submit). spicy_connect_dialog now returns TRUE and FALSE instead of 0 and -1.
* spicy: Move connect dialog to its own fileLukas Venhoda2015-06-181-125/+4
| | | | | | | | Connect dialog from spicy is now in its own file. Renamed connect_dialog to spicy_connect_dialog. Added new file for translation.
* Move gtk/ -> src/Marc-André Lureau2015-06-081-0/+1855
For historical reasons, the code was placed under gtk/ subdirectory. If it was always bugging you, bug no more!