change SCROLL_RIGHT to SCROLL_LEFT, reported by Thomas Broyer.

2001-06-04  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkrange.c (gtk_range_scroll_event): change SCROLL_RIGHT to
	SCROLL_LEFT, reported by Thomas Broyer.
This commit is contained in:
Havoc Pennington 2001-06-04 19:47:35 +00:00 committed by Havoc Pennington
parent 31a2580725
commit a6eec2785d
8 changed files with 36 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_scroll_event): change SCROLL_RIGHT to
SCROLL_LEFT, reported by Thomas Broyer.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):

View File

@ -1,3 +1,8 @@
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_scroll_event): change SCROLL_RIGHT to
SCROLL_LEFT, reported by Thomas Broyer.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):

View File

@ -1,3 +1,8 @@
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_scroll_event): change SCROLL_RIGHT to
SCROLL_LEFT, reported by Thomas Broyer.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):

View File

@ -1,3 +1,8 @@
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_scroll_event): change SCROLL_RIGHT to
SCROLL_LEFT, reported by Thomas Broyer.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):

View File

@ -1,3 +1,8 @@
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_scroll_event): change SCROLL_RIGHT to
SCROLL_LEFT, reported by Thomas Broyer.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):

View File

@ -1,3 +1,8 @@
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_scroll_event): change SCROLL_RIGHT to
SCROLL_LEFT, reported by Thomas Broyer.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):

View File

@ -1,3 +1,8 @@
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_scroll_event): change SCROLL_RIGHT to
SCROLL_LEFT, reported by Thomas Broyer.
2001-06-04 Havoc Pennington <hp@redhat.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed):

View File

@ -1052,7 +1052,7 @@ gtk_range_scroll_event (GtkWidget *widget,
{
GtkAdjustment *adj = GTK_RANGE (range)->adjustment;
gdouble new_value = adj->value + ((event->direction == GDK_SCROLL_UP ||
event->direction == GDK_SCROLL_RIGHT) ?
event->direction == GDK_SCROLL_LEFT) ?
-adj->page_increment / 2:
adj->page_increment / 2);