immediately return from the wheel mouse callback if no vertical scrollbar
1999-12-19 Michael Natterer <mitch@gimp.org> * plug-ins/helpbrowser/helpbrowser.c: immediately return from the wheel mouse callback if no vertical scrollbar is visible.
This commit is contained in:

committed by
Michael Natterer

parent
e1e8bf55e3
commit
cf53fddc16
@ -1,3 +1,8 @@
|
||||
1999-12-19 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* plug-ins/helpbrowser/helpbrowser.c: immediately return from
|
||||
the wheel mouse callback if no vertical scrollbar is visible.
|
||||
|
||||
1999-12-19 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/palette.c: Added a confirmation dialog for "delete palette".
|
||||
|
@ -690,6 +690,9 @@ wheel_callback (GtkWidget *widget,
|
||||
GtkAdjustment *adj;
|
||||
gfloat new_value;
|
||||
|
||||
if (! GTK_XMHTML (html)->html.needs_vsb)
|
||||
return FALSE;
|
||||
|
||||
adj = GTK_ADJUSTMENT (GTK_XMHTML (html)->vsba);
|
||||
|
||||
switch (bevent->button)
|
||||
|
Reference in New Issue
Block a user