summaryrefslogtreecommitdiffstats
path: root/src/virt-gtk-compat.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert changes related to numpad acceleratorsFabiano Fidêncio2014-09-231-3/+0
| | | | | | | | | | | | | | | | | | | | Due to a GTK+ limitation and bad testing from my side, I've pushed two patches trying to add support to use Ctrl + {+, -, 0} from numpad to control zoom-in, zoom-out and zoom-reset. Unfortunately, with the first patch (3a168815) I've duplicated the menu items related to the zoom functions. With the second one (55cdb986), provided to not show the duplicated menu items, we came back to the initial state, where the numpad accelerators don't work. So, in resume, multiple accelerators in a GTK+ widget are only supported on applications using GApplication, what is not our case and won't be till we drop the GTK+2 support. Revert "Do not show duplicated menu items" and Revert "Add support to use numpad accelarators for zoom-{in.out,reset}" This reverts commits 55cdb9867df05f1c4f6c8e569a6f0c1e0bc28d99 and 3a168815b738076526ba0f3e9a82e6fb1db482e9.
* Add support to use numpad accelarators for zoom-{in.out,reset}Fabiano Fidêncio2014-08-191-0/+3
| | | | | | | | As virt-viewer uses GtkAccelMap for shortcuts and that GTK only can have one key binding per accelerator (in accel_map_add_entry), let's also add support specificly for the numpad keys in the virt-viewer code https://bugzilla.redhat.com/show_bug.cgi?id=883433
* Make ctrl-[+-] zoom in/out in fullscreenMarc-André Lureau2014-07-081-0/+2
| | | | | | | Make ctrl-[+-] zoom in/out in fullscreen with mouse over the control bar. https://bugzilla.redhat.com/show_bug.cgi?id=987549
* Add ability to send Secure attention sequence via keyboardJonathon Jongsma2013-09-101-0/+1
| | | | | | | | On Windows, the OS doesn't allow applications to handle Ctrl+Alt+Del, because it's handled by the OS at a much lower level. Although we have a menu item to send this sequence to the guest, it's not possible to send via the keyboard (in the windows client). So add an alternative key sequence (defaulting to Ctrl+Alt+End) to send this sequence to the guest.
* compat: add a few GDK_Key definesMarc-André Lureau2013-07-301-0/+2
|
* Make zoom-reset a global key bindingMarc-André Lureau2013-07-301-0/+1
|
* Add gtk_widget_get_realized() define for old gtk+Marc-André Lureau2013-03-261-0/+6
| | | | Fix build with gtk < 2.20
* Fix compilation with older gtk+Christophe Fergeau2013-03-201-0/+5
| | | | | gtk_widget_get_mapped is only available in gtk+ 2.20, so we need a compat definition for older releases.
* Remove trailing blank lineDaniel P. Berrange2012-03-011-1/+0
|
* Fix compilation with gtk 2.18Marc-André Lureau2012-03-011-0/+62