diff options
author | Kevin Ferrare <kevin@rockbox.org> | 2006-07-02 16:18:59 +0000 |
---|---|---|
committer | Kevin Ferrare <kevin@rockbox.org> | 2006-07-02 16:18:59 +0000 |
commit | f64280ff00bbf131b82322cb2fe138b259ebc5c3 (patch) | |
tree | 359bf907f4678bab1ae8773c07219a36b49364a0 | |
parent | f77ac7a6a7e19aa20bdeb10bd006ad1a8c147f76 (diff) | |
download | rockbox-f64280ff00bbf131b82322cb2fe138b259ebc5c3.tar.gz rockbox-f64280ff00bbf131b82322cb2fe138b259ebc5c3.zip |
OOPS Forgot remote keys bindings for the ID3 info screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10176 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/gui/list.c | 4 | ||||
-rw-r--r-- | apps/screens.c | 19 |
2 files changed, 4 insertions, 19 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index 5dff8dc1b2..67c0f3055d 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c | |||
@@ -658,7 +658,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button) | |||
658 | #endif | 658 | #endif |
659 | gui_synclist_scroll_right(lists); | 659 | gui_synclist_scroll_right(lists); |
660 | gui_synclist_draw(lists); | 660 | gui_synclist_draw(lists); |
661 | return true; | 661 | return LIST_PGRIGHT; |
662 | #endif | 662 | #endif |
663 | 663 | ||
664 | #ifdef LIST_PGLEFT | 664 | #ifdef LIST_PGLEFT |
@@ -670,7 +670,7 @@ unsigned gui_synclist_do_button(struct gui_synclist * lists, unsigned button) | |||
670 | #endif | 670 | #endif |
671 | gui_synclist_scroll_left(lists); | 671 | gui_synclist_scroll_left(lists); |
672 | gui_synclist_draw(lists); | 672 | gui_synclist_draw(lists); |
673 | return true; | 673 | return LIST_PGLEFT; |
674 | #endif | 674 | #endif |
675 | 675 | ||
676 | /* for pgup / pgdown, we are obliged to have a different behaviour depending on the screen | 676 | /* for pgup / pgdown, we are obliged to have a different behaviour depending on the screen |
diff --git a/apps/screens.c b/apps/screens.c index 99f23c55af..c54333109b 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -1017,7 +1017,6 @@ char * id3_get_info(int selected_item, void* data, char *buffer) | |||
1017 | { | 1017 | { |
1018 | struct mp3entry* id3 =(struct mp3entry*)data; | 1018 | struct mp3entry* id3 =(struct mp3entry*)data; |
1019 | int info_no=selected_item/2; | 1019 | int info_no=selected_item/2; |
1020 | DEBUGF("%d : %d\n",info_no, selected_item); | ||
1021 | if(!(selected_item%2)) | 1020 | if(!(selected_item%2)) |
1022 | {/* header */ | 1021 | {/* header */ |
1023 | int headers[]= | 1022 | int headers[]= |
@@ -1125,22 +1124,8 @@ bool browse_id3(void) | |||
1125 | gui_synclist_draw(&id3_lists); | 1124 | gui_synclist_draw(&id3_lists); |
1126 | while (true) { | 1125 | while (true) { |
1127 | key = button_get_w_tmo(HZ/2); | 1126 | key = button_get_w_tmo(HZ/2); |
1128 | /* If moved, "say" the entry under the cursor */ | 1127 | if(key!=BUTTON_NONE && !(key&BUTTON_REL) && !gui_synclist_do_button(&id3_lists, key)) |
1129 | gui_synclist_do_button(&id3_lists, key); | 1128 | return(default_event_handler(key) == SYS_USB_CONNECTED); |
1130 | switch( key ) { | ||
1131 | #ifdef SETTINGS_OK2 | ||
1132 | case SETTINGS_OK2: | ||
1133 | #endif | ||
1134 | case SETTINGS_CANCEL: | ||
1135 | lcd_stop_scroll(); | ||
1136 | /* Eat release event */ | ||
1137 | button_get(true); | ||
1138 | return(false); | ||
1139 | |||
1140 | default: | ||
1141 | if (default_event_handler(key) == SYS_USB_CONNECTED) | ||
1142 | return true; | ||
1143 | } | ||
1144 | gui_syncstatusbar_draw(&statusbars, false); | 1129 | gui_syncstatusbar_draw(&statusbars, false); |
1145 | } | 1130 | } |
1146 | } | 1131 | } |