diff options
| author | Tomas Bzatek <tbzatek@redhat.com> | 2025-11-28 22:47:50 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@redhat.com> | 2025-11-28 22:47:50 +0100 |
| commit | 1f66d0a599568971adc708d70ee9777259669fa9 (patch) | |
| tree | b0d7051fe643c3150c8cf4cfd494e00e3c71a441 /UMain.pas | |
| parent | de08d64c9c42fd6ae02f3cfe06332fcbbc82234f (diff) | |
| download | tuxcmd-gtk3_port.tar.xz | |
Fix GDK keysymsgtk3_port
Diffstat (limited to 'UMain.pas')
| -rw-r--r-- | UMain.pas | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -1583,29 +1583,30 @@ begin end; - GDK_KEY_A: if ((Shift = [ssAlt]) and (ConfQuickSearchActivationKey <> 2)) or (Shift = [ssCtrl]) then begin + GDK_KEY_A, GDK_KEY_a_: if ((Shift = [ssAlt]) and (ConfQuickSearchActivationKey <> 2)) or (Shift = [ssCtrl]) then begin KeyHandled := True; CommandLineComboKeyDown(Sender, Key, Shift, Accept); end; - GDK_KEY_D: if Shift = [ssCtrl] then begin + GDK_KEY_D, GDK_KEY_d_: if Shift = [ssCtrl] then begin Accept := False; KeyHandled := True; ShowBookmarkQuick(LeftPanel); end; - GDK_KEY_O : if (Shift = [ssAlt]) and (ConfQuickSearchActivationKey <> 2) then begin + GDK_KEY_O, GDK_KEY_o_: if (Shift = [ssAlt]) and (ConfQuickSearchActivationKey <> 2) then begin Accept := False; KeyHandled := True; SwitchOtherPanel(LeftPanel, False); end; - GDK_KEY_P, GDK_KEY_N: + GDK_KEY_P, GDK_KEY_p_, GDK_KEY_N, GDK_KEY_n_: if (((Shift = [ssAlt]) and (ConfQuickSearchActivationKey <> 2)) or (Shift = [ssCtrl])) { and (CommandLineHistory.Count > 0) } then begin KeyHandled := True; CommandLineComboKeyDown(Sender, Key, Shift, Accept); end; - GDK_KEY_S : if ((Shift = [ssAlt]) and (ConfQuickSearchActivationKey <> 2)) or (Shift = [ssCtrl]) then begin - KeyHandled := True; - ActivateQuickFind(LeftPanel); - end; + GDK_KEY_S, GDK_KEY_s_: + if ((Shift = [ssAlt]) and (ConfQuickSearchActivationKey <> 2)) or (Shift = [ssCtrl]) then begin + KeyHandled := True; + ActivateQuickFind(LeftPanel); + end; end; if not KeyHandled then Accept := not HandleKey(Key, Shift, LeftPanel); end; @@ -3670,7 +3671,7 @@ begin if LeftLastFocused then RightListView.SetFocus else LeftListView.SetFocus; end; - GDK_KEY_P: if ((Shift = [ssAlt]) or (Shift = [ssCtrl])) and (CommandLineHistory.Count > 0) then + GDK_KEY_P, GDK_KEY_p_: if ((Shift = [ssAlt]) or (Shift = [ssCtrl])) and (CommandLineHistory.Count > 0) then begin Accept := False; Orig := Trim(CommandLineCombo.Entry.Text); @@ -3684,7 +3685,7 @@ begin CommandLineCombo.Entry.SetFocus; CommandLineCombo.Entry.SelectRegion(Length(CommandLineCombo.Entry.Text), Length(CommandLineCombo.Entry.Text)); end else if not CommandLineCombo.Entry.Focused then ActivateCommandLine(Key); - GDK_KEY_N: if ((Shift = [ssAlt]) or (Shift = [ssCtrl])) and (CommandLineHistory.Count > 0) then + GDK_KEY_N, GDK_KEY_n_: if ((Shift = [ssAlt]) or (Shift = [ssCtrl])) and (CommandLineHistory.Count > 0) then begin Accept := False; Orig := Trim(CommandLineCombo.Entry.Text); @@ -3699,7 +3700,7 @@ begin CommandLineCombo.Entry.SetFocus; CommandLineCombo.Entry.SelectRegion(Length(CommandLineCombo.Entry.Text), Length(CommandLineCombo.Entry.Text)); end else if not CommandLineCombo.Entry.Focused then ActivateCommandLine(Key); - GDK_KEY_A: if (Shift = [ssAlt]) or (Shift = [ssCtrl]) then + GDK_KEY_A, GDK_KEY_a_: if (Shift = [ssAlt]) or (Shift = [ssCtrl]) then begin Accept := False; if LeftLastFocused then Engine := LeftPanelEngine |
