The dependent checkbox method is used in other places in the Geany preferences and seems to me the best solution.
We don't want to add things to various unless they are really really rarely needed, since as you noted, the only information on them is the variable name.