Allow variables to be entered beyond the end of sheet.
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 4 Dec 2008 02:38:08 +0000 (11:38 +0900)
committerJohn Darrington <john@darrington.wattle.id.au>
Thu, 4 Dec 2008 02:38:08 +0000 (11:38 +0900)
commit4e353bce75f100fb7d9b2dc1fa26bcf4e8ca2679
tree644621d43ee75c75706ce7289f1281d72b85ab6f
parent256b80a60ad7ade8c7ac947d3602f89120f37522
Allow variables to be entered beyond the end of sheet.

Several changes to fix the problem where variables beyond
the vertical size of the var sheet couldn't be added.

1. Undo the effect of commit 8c9fae384585163197685e684e62e49a6b922f0c
since it seems to cause problems and need to be rethought.

2. On the traverse callback, don't clamp the range of the requested
   destination cell.  Clamp it only after the signal returns.

3. Add one more row than there are variables.
lib/gtksheet/gtksheet.c
src/ui/gui/psppire-data-editor.c