Commit Graph

353 Commits

Author SHA1 Message Date
Hans de Goede
54a3e7d600 usbredir: Gnome HIG-ify USB device selection dialog
These changes match the changes already made to the spice-gtk
usb device selection widget to match the spacing advised by the Gnome HIG.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-03-06 12:55:30 +01:00
Hans de Goede
c8f3a9e843 usbredir: Shrink the usb device selection dialog when devices are unplugged
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2012-03-06 12:55:30 +01:00
Christophe Fergeau
f3ba403680 Don't attempt to translate ""
The empty string has a magic meaning for gettext, it's used to
store a translation header with all kind of information about the
po file. This is not something we want to use as a window title, so
change to _("") to "" when we want an empty string.
2012-03-05 20:03:41 +01:00
Christophe Fergeau
1d782164a4 Fix path to spice-controller.h 2012-03-05 20:03:41 +01:00
Daniel P. Berrange
3066ed3458 Remove trailing blank line 2012-03-01 16:49:03 +00:00
Marc-André Lureau
64e1616f75 fix make distcheck 2012-03-01 16:42:09 +01:00
Marc-André Lureau
1a82b225b6 Prepare for release 0.5.2 2012-03-01 16:37:23 +01:00
Marc-André Lureau
6a475e374b update .mailmap 2012-03-01 16:20:25 +01:00
Marc-Andre Lureau
2c9cdb6fb9 remote-viewer: support spice foreign menu 2012-03-01 15:17:25 +01:00
Marc-André Lureau
2e8b6650cf Add property app:has-focus 2012-03-01 15:15:58 +01:00
Marc-André Lureau
50b0c72392 Fix compilation with gtk 2.18 2012-03-01 15:15:51 +01:00
Marc-André Lureau
9a322010a3 spice: fix connecting via ssh to a password-protected server
spice_session_connect() will attempt to connect directly to the
server, we need to continue calling spice_session_open_fd() for ssh
tunnel to work.
2012-03-01 15:15:02 +01:00
Marc-André Lureau
9d7c9000c3 spice: fix double unref of main channel
When doing unref() on a channel, channel-destroy signal may be emitted
during object dispose time, and it will attempt to unref() the channel
again likely leading to a crash.

It may be that spice-gtk should have a different/simpler object
life-cycle model, but it's also a good assumption to not take strong
references on the channels, but just keep a weak reference as the
session is really the channel life-cycle manager.

https://bugzilla.redhat.com/show_bug.cgi?id=797082
2012-03-01 15:06:43 +01:00
Daniel P. Berrange
bfc7e605e5 Import translations 2012-02-27 08:17:58 +00:00
Marc-André Lureau
49df4ab19a nsis: set HKCU "Software\spice-space.org\spicex\client"
With recent RHEV portal plugin, the Spice client is chosen according
to this key.
2012-02-23 16:46:20 +01:00
Marc-André Lureau
e2082caa0a remote-viewer: add smartcard controller message 2012-02-22 16:45:11 +01:00
Marc-André Lureau
c0ec28ce8a spice: teach customizable key bindings with controller
Tested with RHEVM 3.0 instance with custom bindings for fullscreen &
ungrab.
2012-02-22 16:45:08 +01:00
Marc-André Lureau
946a70762e Small code simplification 2012-02-22 16:45:02 +01:00
Marc-André Lureau
51ca18beee Use the accelgroup to define key bindings
With accelgroups, we can redefine the keybindings
2012-02-22 16:45:00 +01:00
Marc-André Lureau
e6dfd324c4 Add hidden menu smartcard remove/insert and release-cursor 2012-02-22 16:44:27 +01:00
Marc-André Lureau
b768fafd66 Add virt_viewer_app_get_session() 2012-02-22 16:44:23 +01:00
Marc-André Lureau
8f1785ca62 spice: implement smartcard-{insert,remove} virtual methods 2012-02-22 16:44:18 +01:00
Marc-André Lureau
6c916253ee Add smartcard-{insert,remove} and release-cursor virtual methods 2012-02-22 16:44:11 +01:00
Marc-André Lureau
23dc09eacb Do not disable accelgroup if accels are enabled 2012-02-22 16:43:49 +01:00
Marc-André Lureau
dd857b648e Add VirtViewerApp:enable-accel property 2012-02-22 16:15:35 +01:00
Marc-André Lureau
2601ba1150 Require an accel group for full-screen menu
Bump Gtk depedency to 2.18, since we already use symbols from it.
2012-02-22 16:12:10 +01:00
Daniel P. Berrange
ce726a9a4d Prepare for release 0.5.1 2012-02-17 12:00:14 +00:00
Daniel P. Berrange
236fa1ce3c Remove virt-viewer.pot from git, as it is generated dynamically 2012-02-16 17:40:11 +00:00
Daniel P. Berrange
24ab6e6e40 Add back compat for GObject 2.22 which lacks GBinding 2012-02-16 14:52:55 +00:00
Daniel P. Berrange
c3baafc898 Relax GTK-VNC version again
A previous commit needlessly increased the min required GTK-VNC
2012-02-16 14:44:19 +00:00
Daniel P. Berrange
e1064a5355 Only link remote-viewer program against SPICE controller 2012-02-16 14:37:22 +00:00
Daniel P. Berrange
8b18ea0ea5 Remove use of a libtool convenience library
The use of a libtool convenience library causes some platforms to
loose the ability to use the GNU_RELRO security feature in the
resulting binary. Refactor the makefile to simply compile the
common files twice, once for virt-viewer & once for remote-viewer
2012-02-16 14:20:25 +00:00
Daniel P. Berrange
08f746be69 Import latest translations from transifex 2012-02-16 11:56:16 +00:00
Daniel P. Berrange
77808ceb5c Adjust POTFILES.in check to strip type prefix 2012-02-15 09:29:22 +00:00
Daniel P. Berrange
ab94026a08 Add transifex configuration file 2012-02-15 09:29:06 +00:00
Daniel P. Berrange
fbdb554c2d Fix inclusion of GtkBuilder files in virt-viewer.pot 2012-02-14 17:57:15 +00:00
Daniel P. Berrange
c18120b763 Refresh translation files 2012-02-14 17:23:40 +00:00
Daniel P. Berrange
c1ff4f4624 Update for release 0.5.0 2012-02-14 16:20:07 +00:00
Marc-André Lureau
1a3b233e55 First %d in controller title should be substituted with window nth 2012-02-14 16:19:45 +00:00
Marc-André Lureau
16307e0dc7 Add libp11-kit-0.dll to nsis script 2012-02-14 16:19:18 +00:00
Daniel P. Berrange
a140f396f3 Set pretty icon for remote-viewer windows too 2012-02-14 15:26:52 +00:00
Daniel P. Berrange
56b0217c62 Don't hardcode 'localhost' in no @listen parameter is given
If no @listen parameter is given, we must not hardcode 'localhost'
since we can't assume we are running on the same host. Instead use
the hostname from the connection URI
2012-02-14 14:55:39 +00:00
Daniel P. Berrange
a52b9f3182 Extract tlsPort for SPICE and use it to enable secure connections 2012-02-14 14:53:59 +00:00
Daniel P. Berrange
ced6fec518 Don't do whitespace checks on icons 2012-02-08 19:39:09 +00:00
Daniel P. Berrange
b0ba9e626a Set transient parent for screenshot dialog 2012-02-08 19:37:09 +00:00
Daniel P. Berrange
0fa4d098f9 Ensure auth popup windows have correct transient parent 2012-02-08 19:33:40 +00:00
Marc-André Lureau
28830c8596 Make the password field activates default widget
When pressing "Enter", the default auth dialog action isn't activated.
Setting activates_default to TRUE fixes this issue.
2012-02-08 17:15:20 +00:00
Marc-André Lureau
bbf040b777 Do not resize guest desktop if !auto-resize
If auto-resize is enabled, the guest desktop size will be resized to
match current window*zoom size.

This can be a problem if the user explicitely set the desktop size to
a different resolution and want to keep it. Disabling auto-resize
sounds like a simple way to allow that.
2012-02-08 17:15:20 +00:00
Marc-André Lureau
f87cdc9e24 Resize Spice guest display to the container size
The SpiceDisplay doesn't receive the full allocation, because
VirtViewerDisplay maintains current aspect ratio. However, the guest
display can be resize up to its container size.

This fixes going full-screen and not getting native resolution for
instance.
2012-02-08 17:15:20 +00:00
Daniel P. Berrange
e9ff27efe2 Ensure About dialog has transient hints setup 2012-02-08 17:15:16 +00:00