diff options
author | Miika Pekkarinen <miipekk@ihme.org> | 2007-10-21 11:06:30 +0000 |
---|---|---|
committer | Miika Pekkarinen <miipekk@ihme.org> | 2007-10-21 11:06:30 +0000 |
commit | caff835d78449d92166a78abd7b0c2d2559e38f2 (patch) | |
tree | 80f01783ab8fa45826f5008a047341c088360dac /apps/gui | |
parent | 47cdc8955271f7c2bd0e73c8b5ed0436c9003a8a (diff) | |
download | rockbox-caff835d78449d92166a78abd7b0c2d2559e38f2.tar.gz rockbox-caff835d78449d92166a78abd7b0c2d2559e38f2.zip |
Fixed debug menu crashing. Show last file processed by tagcache engine in debug menu. Enabled autoupdating of deleted files for flash storage devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15244 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/list.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index 6727f9b998..5c16c00aeb 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c | |||
@@ -1185,7 +1185,7 @@ bool simplelist_show_list(struct simplelist_info *info) | |||
1185 | while(1) | 1185 | while(1) |
1186 | { | 1186 | { |
1187 | gui_syncstatusbar_draw(&statusbars, true); | 1187 | gui_syncstatusbar_draw(&statusbars, true); |
1188 | action = get_action(CONTEXT_STD, HZ/5); | 1188 | action = get_action(CONTEXT_STD, HZ/100); |
1189 | if (gui_synclist_do_button(&lists, &action, LIST_WRAP_UNLESS_HELD)) | 1189 | if (gui_synclist_do_button(&lists, &action, LIST_WRAP_UNLESS_HELD)) |
1190 | continue; | 1190 | continue; |
1191 | if (info->action_callback) | 1191 | if (info->action_callback) |
@@ -1196,14 +1196,16 @@ bool simplelist_show_list(struct simplelist_info *info) | |||
1196 | } | 1196 | } |
1197 | if (action == ACTION_STD_CANCEL) | 1197 | if (action == ACTION_STD_CANCEL) |
1198 | break; | 1198 | break; |
1199 | else if ((action == ACTION_REDRAW) || (old_line_count == simplelist_line_count)) | 1199 | else if ((action == ACTION_REDRAW) || (old_line_count != simplelist_line_count)) |
1200 | { | 1200 | { |
1201 | if (info->get_name == NULL) | 1201 | if (info->get_name == NULL) |
1202 | gui_synclist_set_nb_items(&lists, simplelist_line_count*info->selection_size); | 1202 | gui_synclist_set_nb_items(&lists, simplelist_line_count*info->selection_size); |
1203 | gui_synclist_draw(&lists); | 1203 | gui_synclist_draw(&lists); |
1204 | old_line_count = simplelist_line_count; | ||
1204 | } | 1205 | } |
1205 | else if(default_event_handler(action) == SYS_USB_CONNECTED) | 1206 | else if(default_event_handler(action) == SYS_USB_CONNECTED) |
1206 | return true; | 1207 | return true; |
1208 | |||
1207 | } | 1209 | } |
1208 | return false; | 1210 | return false; |
1209 | } | 1211 | } |