On Wed, 2 Jun 2004, Sebastian Geerken wrote:
On Tue, Jun 01, Jorge Arellano Cid wrote:
On Mon, 31 May 2004, Sebastian Geerken wrote:
Scrolling half a page is actually standard behaviour of Gtk, look e.g. at gtk_layout_size_allocate() (in gtklayout.c), which is more or less responsible for this in our case, since our code uses GdkAdjustment::page_increment, which is set there.
The attached patch "solves" it, but I'm not sure, wether the standard behaviour should be overridden.
Hmmmm well, from time to time I find the current behaviour less useful than a full page scroll. I don't know the rationale for a half page scroll in gtklayout either, but it looks as though a full page scroll would be a good default.
This is somehow adopted by other widgets as well, I'm not sure what other X programs do. Anyway, I don't care much about, apply it, if you want the behaviour changed.
Ok, done. I just used: 0.96 * allocation->height to allow for an overlapping of roughly one line. Comments welcome.
It will probably still take some time, it is a bit more difficult than I thought.
Should I wait a bit for a new version?
Don't wait on me. I'm currently not able to tell when I'm finished.
PS: I'm currently working on huge changes in Dw, so committing patches to Dw shold currently avoided when possible.
In some cases, smaller patches may be applied; if merging fails, I'll have to adjust it by hand. Anyway, I'd like to be explicitly told about the changes, so I can better react on it.
With regard to the new widget for buttons, and the inminence of 0.8.2 release, if you like it could be the last enhancement before the release (I'd also add the context-menu indicator to the bug-meter pixmaps). Cheers Jorge.-