summaryrefslogtreecommitdiffstats
path: root/src/remote-viewer.c
Commit message (Collapse)AuthorAgeFilesLines
...
* g_{message,warning}: Use printf styleMichal Privoznik2013-02-041-1/+1
| | | | | | The g_message() and g_warning functions expect printf style of arguments. That is, whenever we want to print a string, it has to be preceded with "%s" format.
* remote-viewer: controller sets spice session proxyMarc-André Lureau2013-01-311-1/+2
| | | | | Trivial change since spice-gtk now has proxy session property and controller message, just forward it.
* Remove unused labelChristophe Fergeau2013-01-241-1/+0
| | | | It's no longer used after aecd80ec7
* Fix warning when compiling without spice-gtk supportChristophe Fergeau2013-01-241-0/+1
| | | | | | | | | | | When remote-viewer is compiled without spice-gtk support, spice-session.h will not get included in remote-viewer.c, causing these warnings: remote-viewer.c: In function 'remote_viewer_start': remote-viewer.c:693:9: warning: implicit declaration of function 'virt_viewer_session_set_file' [-Wimplicit-function-declaration] remote-viewer.c:693:9: warning: nested extern declaration of 'virt_viewer_session_set_file' [-Wnested-externs]
* Add a virt_viewer_app_set_hotkeys() helper functionHans de Goede2012-12-211-40/+1
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Improve hotkeys controller behaviourChristophe Fergeau2012-12-201-0/+5
| | | | | | | Disable default accelerators when setting bindings from the controller in case the controller does not override them all. This ensures we don't inherit from the bindings set in VirtViewerApp::constructor if the controller doesn't set any bindings for a given action.
* remote-viewer: learn to connect from fileMarc-André Lureau2012-11-271-2/+22
| | | | | v2: - move some variables to inner-block as requested by reviewer
* Move spice_hotkey_to_gtk_accelerator() to utilMarc-André Lureau2012-11-271-114/+1
| | | | | To be compatible with RHEVM, VirtViewerFile hotkey format will use the Spice Controller format.
* Allow user to set a window title for remote-viewerDaniel P. Berrange2012-10-091-3/+5
| | | | | | | | | Currently the remote viewer windows get the URI as their title. Provide a --title STRING arg to remote-viewer to let the user override the title with something more meaningful to them. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Fix automatic usb redir through controllerChristophe Fergeau2012-04-171-5/+5
| | | | | | | | | | | | | | | | | | remote-viewer is currently trying to use SpiceUsbDeviceManager::auto-connect to control whether USB devices should be automatically connected or not. However, this property is more or less an internal spice-gtk property which is toggled by SpiceGtkSession when the SPICE widget gets/loses focus. SpiceGtkSession has an "auto-usbredir" property which can be used by applications to enable/disable automatic usb redirection through SPICE. Since this property is helpfully bound to VirtViewerSession::auto-usbredir, use this when the controller is told to enable/disable USB redirection. Without this change, automatic USB redirection will always get reenabled as soon as there's a focus change since SpiceGtkSession::auto-usbredir defaults to be enabled in spice-gtk.
* Propagate USB redirection controller messagesChristophe Fergeau2012-04-041-1/+16
|
* Add support for the SPICE properties disable-effects & color-depthYonit Halperin2012-04-031-1/+3
| | | | | Signed-off-by: Yonit Halperin <yhalperi@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
* Notify focus state when the foreign menu title is setMarc-Andre Lureau2012-03-221-6/+26
| | | | | | | The current code only inform of focus state when the listener is ready. spice-gtk controller code lacks signal when a client connects, but a client will set the title when connected and send a notify signal. Use this event to notify of application focus state.
* Do not try to unref NULL menuMarc-Andre Lureau2012-03-221-1/+3
|
* Don't leak foreign menuMarc-Andre Lureau2012-03-221-0/+1
| | | | The RemoveViewer object will have its own ref.
* Do not crash so easily when given invalid uriMarc-André Lureau2012-03-161-1/+1
| | | | 'remote-viewer foobar' shouldn't crash
* Notify of focus state when a client connectsMarc-André Lureau2012-03-091-4/+6
| | | | | | The current code notifies the controller when the remote-viewer application starts, but not when the client is connected. We should do the later instead
* Fix path to spice-controller.hChristophe Fergeau2012-03-051-1/+1
|
* remote-viewer: support spice foreign menuMarc-Andre Lureau2012-03-011-51/+160
|
* remote-viewer: add smartcard controller messageMarc-André Lureau2012-02-221-1/+2
|
* spice: teach customizable key bindings with controllerMarc-André Lureau2012-02-221-0/+150
| | | | | Tested with RHEVM 3.0 instance with custom bindings for fullscreen & ungrab.
* Use exit() constantsDaniel P. Berrange2012-02-061-1/+1
|
* Update copyright headersDaniel P. Berrange2012-02-061-2/+2
|
* Convert TABS to spaces & reindent everywhereDaniel P. Berrange2012-02-061-280/+279
|
* Adapt remote-viewer so that it builds without SPICEDaniel P. Berrange2012-01-311-1/+30
|
* Add spice controller support in remote-viewerMarc-André Lureau2012-01-311-20/+354
| | | | Usage is simply "remote-viewer --spice-controller"
* Add remote-viewer programMarc-André Lureau2012-01-311-0/+141
This program is meant for direct URI connections. ex: remote-viewer vnc://uri