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 /UChown.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 'UChown.pas')
| -rw-r--r-- | UChown.pas | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -140,7 +140,7 @@ begin for i := 0 to OwnerListView.Items.Count - 1 do if OwnerListView.Items[i].AsInteger(1) = UID then begin OwnerListView.Items[i].Selected := True; - OwnerListView.Items[i].SetCursor(0, False, not Application.GTKVersion_2_2_0_Up, 0.5, 0); + OwnerListView.Items[i].SetCursor(0, False, False, 0.5, 0); susr := OwnerListView.Items[i].AsString(0); Break; end; @@ -148,7 +148,7 @@ begin for i := 0 to GroupListView.Items.Count - 1 do if GroupListView.Items[i].AsInteger(1) = GID then begin GroupListView.Items[i].Selected := True; - GroupListView.Items[i].SetCursor(0, False, not Application.GTKVersion_2_2_0_Up, 0.5, 0); + GroupListView.Items[i].SetCursor(0, False, False, 0.5, 0); sgrp := GroupListView.Items[i].AsString(0); Break; end; |
