]> source.dussan.org Git - tigervnc.git/commitdiff
Change accelerator for "Disconnect" entry
authorPierre Ossman <ossman@cendio.se>
Mon, 21 Aug 2023 09:03:10 +0000 (11:03 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 21 Aug 2023 09:03:10 +0000 (11:03 +0200)
Using "c" is in conflict the the "Ctrl" entry, so we need to pick
something else here.

This was a regression introduced in 44b085a.

vncviewer/Viewport.cxx

index a79cda52025d38bdd8875236df2e1b1e95466459..d46c0021feb4a36f2ba0cfae3de351ce6925a24a 100644 (file)
@@ -1248,7 +1248,7 @@ void Viewport::initContextMenu()
 {
   contextMenu->clear();
 
-  fltk_menu_add(contextMenu, p_("ContextMenu|", "Dis&connect"),
+  fltk_menu_add(contextMenu, p_("ContextMenu|", "Disconn&ect"),
                 0, NULL, (void*)ID_DISCONNECT, FL_MENU_DIVIDER);
 
   fltk_menu_add(contextMenu, p_("ContextMenu|", "&Full screen"),