1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-11-22 02:15:19 +02:00

gui_frame.c (loop_scroll_event): reverse direction

For consistency with traversal of package list.
This commit is contained in:
Werner Almesberger 2015-01-09 08:57:21 -03:00
parent 5a1fd80fc8
commit 15e5811aea

View File

@ -1220,13 +1220,13 @@ static gboolean loop_scroll_event(GtkWidget *widget, GdkEventScroll *event,
struct loop *loop = data;
switch (event->direction) {
case GDK_SCROLL_UP:
case GDK_SCROLL_DOWN:
if (loop->active < loop->iterations-1) {
loop->active++;
change_world();
}
break;
case GDK_SCROLL_DOWN:
case GDK_SCROLL_UP:
if (loop->active) {
loop->active--;
change_world();