|
|
07c63d |
From ae25f6ca6b46e95281186492de5bc0a0fe4974a6 Mon Sep 17 00:00:00 2001
|
|
|
07c63d |
From: Frediano Ziglio <freddy77@gmail.com>
|
|
|
07c63d |
Date: Fri, 10 Jul 2020 10:58:35 +0100
|
|
|
07c63d |
Subject: [PATCH] More specific key accelerator description
|
|
|
07c63d |
|
|
|
07c63d |
The default key accelerator to release mouse if left control and
|
|
|
07c63d |
left alt but the current description is "Ctrl+Alt", change to
|
|
|
07c63d |
"Ctrl_L+Alt_L" to avoid misunderstanding.
|
|
|
07c63d |
|
|
|
07c63d |
This solves https://bugzilla.redhat.com/show_bug.cgi?id=1548371
|
|
|
07c63d |
|
|
|
07c63d |
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
|
|
|
07c63d |
---
|
|
|
07c63d |
src/virt-viewer-window.c | 2 +-
|
|
|
07c63d |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
07c63d |
|
|
|
07c63d |
diff --git a/src/virt-viewer-window.c b/src/virt-viewer-window.c
|
|
|
07c63d |
index 6c9bc41..614120f 100644
|
|
|
07c63d |
--- a/src/virt-viewer-window.c
|
|
|
07c63d |
+++ b/src/virt-viewer-window.c
|
|
|
07c63d |
@@ -1395,7 +1395,7 @@ virt_viewer_window_update_title(VirtViewerWindow *self)
|
|
|
07c63d |
g_debug("release-cursor accel key: key=%u, mods=%x, flags=%u", key.accel_key, key.accel_mods, key.accel_flags);
|
|
|
07c63d |
label = gtk_accelerator_get_label(key.accel_key, key.accel_mods);
|
|
|
07c63d |
} else {
|
|
|
07c63d |
- label = g_strdup(_("Ctrl+Alt"));
|
|
|
07c63d |
+ label = g_strdup(_("Ctrl_L+Alt_L"));
|
|
|
07c63d |
}
|
|
|
07c63d |
|
|
|
07c63d |
ungrab = g_strdup_printf(_("(Press %s to release pointer)"), label);
|
|
|
07c63d |
--
|
|
|
07c63d |
2.28.0
|
|
|
07c63d |
|