Commit 677ef4b
PrefsUnifiedDlg: flag user-home parents as sensitive
#594's BuildSensitivePathList included wxGetUserHome() (the current
user's home, e.g. /home/alice) but not its parent -- so right-clicking
/home itself, or another user's home like /home/bob, didn't trigger
the "sensitive folder" confirmation, while /home/alice and
/home/alice/Documents did. Same gap on macOS (/Users missing) and
Windows (C:\Users missing).
Add the multi-user roots on each platform plus /root on Linux.
wxGetUserHome() stays in the list -- it still uniquely flags the
current user's home as an exact match irrespective of platform layout.
slrslr's report on #594.1 parent afb9da0 commit 677ef4b
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1404 | 1404 | | |
1405 | 1405 | | |
1406 | 1406 | | |
| 1407 | + | |
1407 | 1408 | | |
1408 | 1409 | | |
1409 | 1410 | | |
1410 | 1411 | | |
1411 | 1412 | | |
1412 | 1413 | | |
1413 | 1414 | | |
| 1415 | + | |
| 1416 | + | |
1414 | 1417 | | |
1415 | 1418 | | |
| 1419 | + | |
1416 | 1420 | | |
1417 | 1421 | | |
1418 | 1422 | | |
| |||
0 commit comments