diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-08-23 08:35:31 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-08-23 08:35:31 +0000 |
commit | 66c4bd6e63197297c44e94f0a3d887e25e675421 (patch) | |
tree | d51541efa115cc5a91c7b5f2f406aed1a60c30cd /apps/gui | |
parent | 97b56a665c9aafee634ee5ffd6fa86fd2f9c7dd9 (diff) | |
download | rockbox-66c4bd6e63197297c44e94f0a3d887e25e675421.tar.gz rockbox-66c4bd6e63197297c44e94f0a3d887e25e675421.zip |
Stop lists wrapping when using page up/down
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10712 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/list.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index c952f96d70..8a5c2060ba 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c | |||
@@ -720,28 +720,24 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button) | |||
720 | * for which the user pressed the key since for example, remote and main screen doesn't | 720 | * for which the user pressed the key since for example, remote and main screen doesn't |
721 | * have the same number of lines*/ | 721 | * have the same number of lines*/ |
722 | case ACTION_LISTTREE_PGUP: | 722 | case ACTION_LISTTREE_PGUP: |
723 | gui_synclist_limit_scroll(lists, false); | ||
724 | gui_synclist_select_previous_page(lists, SCREEN_MAIN); | 723 | gui_synclist_select_previous_page(lists, SCREEN_MAIN); |
725 | gui_synclist_draw(lists); | 724 | gui_synclist_draw(lists); |
726 | yield(); | 725 | yield(); |
727 | return ACTION_STD_NEXT; | 726 | return ACTION_STD_NEXT; |
728 | 727 | ||
729 | case ACTION_LISTTREE_PGDOWN: | 728 | case ACTION_LISTTREE_PGDOWN: |
730 | gui_synclist_limit_scroll(lists, false); | ||
731 | gui_synclist_select_next_page(lists, SCREEN_MAIN); | 729 | gui_synclist_select_next_page(lists, SCREEN_MAIN); |
732 | gui_synclist_draw(lists); | 730 | gui_synclist_draw(lists); |
733 | yield(); | 731 | yield(); |
734 | return ACTION_STD_PREV; | 732 | return ACTION_STD_PREV; |
735 | #if (REMOTE_BUTTON != 0 ) | 733 | #if (REMOTE_BUTTON != 0 ) |
736 | case ACTION_LISTTREE_RC_PGUP: | 734 | case ACTION_LISTTREE_RC_PGUP: |
737 | gui_synclist_limit_scroll(lists, false); | ||
738 | gui_synclist_select_previous_page(lists, SCREEN_REMOTE); | 735 | gui_synclist_select_previous_page(lists, SCREEN_REMOTE); |
739 | gui_synclist_draw(lists); | 736 | gui_synclist_draw(lists); |
740 | yield(); | 737 | yield(); |
741 | return ACTION_STD_NEXT; | 738 | return ACTION_STD_NEXT; |
742 | 739 | ||
743 | case ACTION_LISTTREE_RC_PGDOWN: | 740 | case ACTION_LISTTREE_RC_PGDOWN: |
744 | gui_synclist_limit_scroll(lists, false); | ||
745 | gui_synclist_select_next_page(lists, SCREEN_REMOTE); | 741 | gui_synclist_select_next_page(lists, SCREEN_REMOTE); |
746 | gui_synclist_draw(lists); | 742 | gui_synclist_draw(lists); |
747 | yield(); | 743 | yield(); |