PspppireSelector: Prevent selection of disallowed entries. 20120412030503/pspp 20120413030504/pspp
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 10 Apr 2012 20:12:19 +0000 (22:12 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 11 Apr 2012 15:44:19 +0000 (17:44 +0200)
commit1c5e85db6beede28d883c6bc3d01a69ad72c9c76
tree61364267af989dd0a2658c280f88b0d8be25ad55
parent656fc48419248831d507817106363d41055f5d37
PspppireSelector: Prevent selection of disallowed entries.

We had been relying on the deselected state of the widget to prevent
selection with the "allow" predicate was false.   But clicking the
widget itself isn't the only way items can be selected (double clicking
the item for example).   This change adds a test at a lower level to
prevent selection of disallowed items.
src/ui/gui/psppire-selector.c