Allow forcing columns to be hidden
This makes it possible to use the same tree widget with the same columns
for different types of smart cards. For some smart cards some columns
don't make sense because the columns would always be empty.
(cherry picked from commit 286652b2995be07ef4c2aaf5db68a5dca6320dd7)
- GnuPG-bug-id: T7018