Don't force position to zero on calculate()
commit3e884b7af0f91fc44c6343857266f35116a0a1b6
authorOwen W. Taylor <otaylor@fishsoup.net>
Sun, 16 Dec 2007 13:43:47 +0000 (16 08:43 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Sun, 16 Dec 2007 13:43:47 +0000 (16 08:43 -0500)
treee66b9517b4af34d905b2aa3a6d13f1160c43c5b1
parentbc7e84c4f4385357b6474cc5dfb8903a69f9b2bf
Don't force position to zero on calculate()
In the hack to force a size_allocate() after calculate so
scroll_to_mark works, allocate at current size, not at
the full requisition size. The latter was causing
upper = text_height/requisition - page_size/allocation = 0
http://www.reinteract.org/trac/ticket/8
lib/reinteract/main.py