Date:2015-01-09 12:57:21 (4 years 11 months ago)
Author:Werner Almesberger
Commit:15e5811aea59345983f4f34454e11ee31811116a
Message:gui_frame.c (loop_scroll_event): reverse direction

For consistency with traversal of package list.
Files: gui_frame.c (1 diff)

Change Details

gui_frame.c
12201220    struct loop *loop = data;
12211221
12221222    switch (event->direction) {
1223    case GDK_SCROLL_UP:
1223    case GDK_SCROLL_DOWN:
12241224        if (loop->active < loop->iterations-1) {
12251225            loop->active++;
12261226            change_world();
12271227        }
12281228        break;
1229    case GDK_SCROLL_DOWN:
1229    case GDK_SCROLL_UP:
12301230        if (loop->active) {
12311231            loop->active--;
12321232            change_world();

Archive Download the corresponding diff file

Branches:
master



interactive