mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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:
parent
31a2580725
commit
a6eec2785d
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user