diff options
| author | Tomas Bzatek <tbzatek@redhat.com> | 2024-12-23 12:09:37 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@redhat.com> | 2024-12-23 12:09:37 +0100 |
| commit | 585635371a182d2b3cd5400f6d26d8e20ade6dbd (patch) | |
| tree | fe4d71d71ac7aec633488546e939fcca8a754ccd /UConnectionManager.pas | |
| parent | 6475cd8e422b88e8d0fa3499195e6392bd3bbf12 (diff) | |
| download | tuxcmd-585635371a182d2b3cd5400f6d26d8e20ade6dbd.tar.xz | |
Drop Application.GTKVersion_2_xxx_Up
...and related quirks along with it.
Assume latest gtk2 release.
Diffstat (limited to 'UConnectionManager.pas')
| -rw-r--r-- | UConnectionManager.pas | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/UConnectionManager.pas b/UConnectionManager.pas index f029bcb..a9cbbfb 100644 --- a/UConnectionManager.pas +++ b/UConnectionManager.pas @@ -344,7 +344,7 @@ begin Item.SetValue(1, ConnMgrItem.ConnectionName); Item.SetValue(2, FConnectionProperties.MakeURI(True)); Item.Selected := True; - Item.SetCursor(0, False, not Application.GTKVersion_2_2_0_Up, 0.5, 0); + Item.SetCursor(0, False, False, 0.5, 0); end; finally FConnectionProperties.Free; @@ -434,7 +434,7 @@ begin Item.SetValue(1, ConnMgrItem.ConnectionName); Item.SetValue(2, FConnectionProperties.MakeURI(True)); Item.Selected := True; - Item.SetCursor(0, False, not Application.GTKVersion_2_2_0_Up, 0.5, 0); + Item.SetCursor(0, False, False, 0.5, 0); end; finally FConnectionProperties.Free; @@ -470,7 +470,7 @@ begin then OldIndex := ListView.ConvertFromSorted(ListView.Items.Count - 1) else OldIndex := ListView.ConvertFromSorted(OldIndex); ListView.Items[OldIndex].Selected := True; - ListView.Items[OldIndex].SetCursor(0, False, not Application.GTKVersion_2_2_0_Up, 0.5, 0); + ListView.Items[OldIndex].SetCursor(0, False, False, 0.5, 0); end; ListView.SetFocus; end; |
