Re: [Dillo-dev]page increment (was: very simple question, and many kudos!)
On Mon, May 31, Brian Hechinger wrote:
On Mon, May 31, 2004 at 03:09:03PM +0200, 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.
hmmmmmm. can't say i care for that behavior. maybe i should whine to the GTK folks and see if i can either get that changed, or at least get it setup so there is some way to override it at run/compile time?
They won't probably change it, especially since dillo depends on Gtk 1.2, which development has been closed, AFAIK.
The attached patch "solves" it, but I'm not sure, wether the standard behaviour should be overridden.
how hard would it be to make it a runtime option? something in dillorc? that way you can have standard behavior and also the option to change its behavior to satisfy people like me?
Actually, it envolves reading Havoc Pennington's essay "Free software and good user interfaces" (http://ometer.com/free-software-ui.html), especially the section "The Question of Preferences", and considering, whether or not this configuration option should be added. Actually, I'd rather like it either having applied or not (not configurable), the others should apply the patch. (Adding the code is BTW rather simple, just look at how other options are handled in "prefs.c".)
how about this. let me know when the CVS tree stablizes and i'll write that for you.
It will probably still take some time, it is a bit more difficult than I thought. Sebastian
participants (1)
-
Sebastian Geerken