mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-05 09:17:45 +03:00
hotkeys: enable setting zoom hotkeys from command line
Signed-off-by: Uri Lublin <uril@redhat.com>
This commit is contained in:
parent
5952d51dd8
commit
e89e82eeb9
@ -2511,6 +2511,12 @@ virt_viewer_app_set_hotkeys(VirtViewerApp *self, const gchar *hotkeys_str)
|
||||
status = gtk_accel_map_change_entry("<virt-viewer>/view/toggle-fullscreen", accel_key, accel_mods, TRUE);
|
||||
} else if (g_str_equal(*hotkey, "release-cursor")) {
|
||||
status = gtk_accel_map_change_entry("<virt-viewer>/view/release-cursor", accel_key, accel_mods, TRUE);
|
||||
} else if (g_str_equal(*hotkey, "zoom-reset")) {
|
||||
status = gtk_accel_map_change_entry("<virt-viewer>/view/zoom-reset", accel_key, accel_mods, TRUE);
|
||||
} else if (g_str_equal(*hotkey, "zoom-out")) {
|
||||
status = gtk_accel_map_change_entry("<virt-viewer>/view/zoom-out", accel_key, accel_mods, TRUE);
|
||||
} else if (g_str_equal(*hotkey, "zoom-in")) {
|
||||
status = gtk_accel_map_change_entry("<virt-viewer>/view/zoom-in", accel_key, accel_mods, TRUE);
|
||||
} else if (g_str_equal(*hotkey, "secure-attention")) {
|
||||
status = gtk_accel_map_change_entry("<virt-viewer>/send/secure-attention", accel_key, accel_mods, TRUE);
|
||||
} else if (g_str_equal(*hotkey, "smartcard-insert")) {
|
||||
|
Loading…
Reference in New Issue
Block a user