diff options
author | Ziyue Yang <yzylivezh@hotmail.com> | 2017-01-31 09:32:15 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-01-31 08:49:49 +0100 |
commit | 66f6b82bf26cc15e33a39390844035d017102902 (patch) | |
tree | 7f34b8c473003d3c2818a4006e1dadea7d171077 /ui/spice-display.c | |
parent | 6b557d7c933442377de59b71d0d82c3ccba68b2e (diff) |
ui/gtk.c: add ctrl-alt-= support for zoom in acceleration
Solving wishlist item at
https://bugs.launchpad.net/qemu/+bug/1656710
by accepting Ctrl-Alt-= as an additional zoom-in acceleration.
Using gtk_accel_group_connect to support multiple accelerations
triggering a single menu item since that gtk_accel_map_add_entry
seems to support only one acceleration. A wrapper function
gd_accel_zoom_in is added to support gtk_accel_group_connect's
callback activities.
Signed-off-by: Ziyue Yang <skiver.cloud.yzy@gmail.com>
Message-id: 1485826335-15686-1-git-send-email-skiver.cloud.yzy@gmail.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/spice-display.c')
0 files changed, 0 insertions, 0 deletions