summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer-window.c
Commit message (Collapse)AuthorAgeFilesLines
...
* virt-viewer-window: Don't try to resize non visible windowsHans de Goede2012-03-071-0/+10
| | | | | | | | | | | Trying to resize not visible windows leads to the following being printed to the console: Gdk-CRITICAL **: IA__gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' This gets triggered by the gdk_screen_get_monitor_geometry() call in virt_viewer_window_resize() Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* virt-viewer-window: Add show / hide utility functionsHans de Goede2012-03-071-0/+12
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* virt-viewer-window: Move checks before resize to virt_viewer_window_resizeHans de Goede2012-03-071-5/+5
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* virt-viewer-window: Remove useless tests for priv->window != NULLHans de Goede2012-03-071-7/+1
| | | | | | | priv->window gets set on init and never unset, so there is no need to check for it. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* virt-viewer-window: Add a USB device selection to the fullscreen menu (v2)Hans de Goede2012-03-061-0/+10
| | | | | | | | | Note this button only gets shown on USB redir capable virtual machines. Changes in v2: -Use gtk_widget_set_visible for simpler code Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* window: Call virt_viewer_app_quit instead of gtk_main_quitHans de Goede2012-03-061-1/+1
| | | | | | | When quiting from the fullscreen menu call virt_viewer_app_quit instead of gtk_main_quit so that the session gets properly disconnected before quiting. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* virt-viewer-window: Use a borrowed reference to appHans de Goede2012-03-061-6/+1
| | | | | | | | | | Before this patch there was a cyclic reference between VirtViewerApp and VirtViewerWindow, since all VirtViewerWindows are created / destroyed by VirtViewerApp it is safe to assume that lifetime of VirtViewerApp >= VirtViewerWindow, so VirtViewerWindow can take a borrowed reference breaking the circle, and allowing proper cleanup on exit. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Don't attempt to translate ""Christophe Fergeau2012-03-051-2/+2
| | | | | | | 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.
* Fix compilation with gtk 2.18Marc-André Lureau2012-03-011-20/+1
|
* Small code simplificationMarc-André Lureau2012-02-221-2/+2
|
* Use the accelgroup to define key bindingsMarc-André Lureau2012-02-221-0/+18
| | | | With accelgroups, we can redefine the keybindings
* Add hidden menu smartcard remove/insert and release-cursorMarc-André Lureau2012-02-221-0/+25
|
* Do not disable accelgroup if accels are enabledMarc-André Lureau2012-02-221-0/+10
|
* Set transient parent for screenshot dialogDaniel P. Berrange2012-02-081-11/+13
|
* Do not resize guest desktop if !auto-resizeMarc-André Lureau2012-02-081-0/+3
| | | | | | | | | 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.
* Ensure About dialog has transient hints setupDaniel P. Berrange2012-02-081-0/+3
|
* Update copyright headersDaniel P. Berrange2012-02-061-2/+2
|
* Convert TABS to spaces & reindent everywhereDaniel P. Berrange2012-02-061-561/+560
|
* Only make the USB device selection sensitive when the vm is USB capableHans de Goede2012-02-061-0/+13
|
* Add a menu entry for USB device selectionHans de Goede2012-02-061-0/+9
|
* Add a few property getters, used by controllerMarc-André Lureau2012-01-301-0/+9
| | | | | | - virt_viewer_app_get_windows() - virt_viewer_window_get_builder() - "VirtViewerSessionSpice:spice-session" property
* build: replace deprecated functionsMarc-André Lureau2012-01-301-1/+1
|
* Require GTK-VNC 0.4.3 and remove redundant realize() callDaniel P. Berrange2011-11-071-2/+0
| | | | | Remove call to gtk_widget_realize for the GTK-VNC widget. Requires GTK-VNC >= 0.4.3
* Fix broken keycombos for F9->F12 menuDaniel P. Berrange2011-10-111-4/+4
| | | | | The table for sending C-A-Fn to guests had messed up mappings for F9->F12
* Fix setting of window title with --waitDaniel P. Berrange2011-10-111-0/+1
| | | | | | When waiting for a VM to appear or start, set the initial window title to the command line arg. When the VM actually appears then update it to the real VM name
* Propagate primary window zoom level to secondary windowsDaniel P. Berrange2011-09-161-0/+8
| | | | | | Ensure that all windows get a default zoom level of 100. Propagate the primary window's zoom level to all secondary windows when initially creating them
* Fix setting of initial zoom level on displayDaniel P. Berrange2011-08-161-0/+2
|
* Mark exported function for gtkbuild to lookup on WindowsMarc-André Lureau2011-08-041-10/+10
|
* Make title more translatable and using application nameMarc-André Lureau2011-08-041-8/+15
|
* Fix fullscreen should hide taskbar on WindowsMarc-André Lureau2011-08-041-0/+10
|
* If only one display, fullscreen should be on the current displayMarc-André Lureau2011-07-261-24/+32
|
* Add a "Displays" submenu, and warn when closing last displayMarc-André Lureau2011-07-261-4/+10
|
* Change enter/leave fullscreen to take/restore positionMarc-André Lureau2011-07-261-37/+30
| | | | | | | | | That allow positionning windows in multi-head. Also, get rid of window_state_cb, since it's impossible to properly catch the event to do the right thing, ie move to a different screen before go full-screen, or disallow it in case nb physical monitors < nb virtual monitors.
* Add nth window to virt_viewer_app_window_new()Marc-André Lureau2011-07-261-0/+1
|
* Split VirtViewerApp window into VirtViewerWindowMarc-André Lureau2011-07-261-0/+891