summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/debug_menu.c8
-rw-r--r--apps/menus/main_menu.c2
2 files changed, 10 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 8eb04662d6..3638f11f10 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -210,6 +210,7 @@ static bool dbg_os(void)
210 NULL); 210 NULL);
211#ifndef ROCKBOX_HAS_LOGF 211#ifndef ROCKBOX_HAS_LOGF
212 info.hide_selection = true; 212 info.hide_selection = true;
213 info.scroll_all = true;
213#endif 214#endif
214 info.action_callback = dbg_threads_action_callback; 215 info.action_callback = dbg_threads_action_callback;
215 info.get_name = threads_getname; 216 info.get_name = threads_getname;
@@ -798,6 +799,7 @@ bool dbg_partitions(void)
798 simplelist_info_init(&info, "Partition Info", 4, NULL); 799 simplelist_info_init(&info, "Partition Info", 4, NULL);
799 info.selection_size = 2; 800 info.selection_size = 2;
800 info.hide_selection = true; 801 info.hide_selection = true;
802 info.scroll_all = true;
801 info.get_name = dbg_partitions_getname; 803 info.get_name = dbg_partitions_getname;
802 return simplelist_show_list(&info); 804 return simplelist_show_list(&info);
803} 805}
@@ -1959,6 +1961,7 @@ static bool dbg_disk_info(void)
1959#endif 1961#endif
1960 info.action_callback = disk_callback; 1962 info.action_callback = disk_callback;
1961 info.hide_selection = true; 1963 info.hide_selection = true;
1964 info.scroll_all = true;
1962 return simplelist_show_list(&info); 1965 return simplelist_show_list(&info);
1963} 1966}
1964#endif /* !SIMULATOR */ 1967#endif /* !SIMULATOR */
@@ -1991,6 +1994,7 @@ static bool dbg_dircache_info(void)
1991 simplelist_info_init(&info, "Dircache Info", 7, NULL); 1994 simplelist_info_init(&info, "Dircache Info", 7, NULL);
1992 info.action_callback = dircache_callback; 1995 info.action_callback = dircache_callback;
1993 info.hide_selection = true; 1996 info.hide_selection = true;
1997 info.scroll_all = true;
1994 return simplelist_show_list(&info); 1998 return simplelist_show_list(&info);
1995} 1999}
1996 2000
@@ -2048,6 +2052,7 @@ static bool dbg_tagcache_info(void)
2048 simplelist_info_init(&info, "Database Info", 8, NULL); 2052 simplelist_info_init(&info, "Database Info", 8, NULL);
2049 info.action_callback = database_callback; 2053 info.action_callback = database_callback;
2050 info.hide_selection = true; 2054 info.hide_selection = true;
2055 info.scroll_all = true;
2051 2056
2052 /* Don't do nonblock here, must give enough processing time 2057 /* Don't do nonblock here, must give enough processing time
2053 for tagcache thread. */ 2058 for tagcache thread. */
@@ -2194,6 +2199,7 @@ static int radio_callback(int btn, struct gui_synclist *lists)
2194static bool dbg_fm_radio(void) 2199static bool dbg_fm_radio(void)
2195{ 2200{
2196 struct simplelist_info info; 2201 struct simplelist_info info;
2202 info.scroll_all = true;
2197 simplelist_info_init(&info, "FM Radio", 1, NULL); 2203 simplelist_info_init(&info, "FM Radio", 1, NULL);
2198 simplelist_set_line_count(0); 2204 simplelist_set_line_count(0);
2199 simplelist_addline(SIMPLELIST_ADD_LINE, "HW detected: %s", 2205 simplelist_addline(SIMPLELIST_ADD_LINE, "HW detected: %s",
@@ -2447,6 +2453,7 @@ static int isp1583_action_callback(int action, struct gui_synclist *lists)
2447static bool dbg_isp1583(void) 2453static bool dbg_isp1583(void)
2448{ 2454{
2449 struct simplelist_info isp1583; 2455 struct simplelist_info isp1583;
2456 info.scroll_all = true;
2450 simplelist_info_init(&isp1583, "ISP1583", dbg_usb_num_items(), NULL); 2457 simplelist_info_init(&isp1583, "ISP1583", dbg_usb_num_items(), NULL);
2451 isp1583.timeout = HZ/100; 2458 isp1583.timeout = HZ/100;
2452 isp1583.hide_selection = true; 2459 isp1583.hide_selection = true;
@@ -2471,6 +2478,7 @@ static int pic_action_callback(int action, struct gui_synclist *lists)
2471static bool dbg_pic(void) 2478static bool dbg_pic(void)
2472{ 2479{
2473 struct simplelist_info pic; 2480 struct simplelist_info pic;
2481 info.scroll_all = true;
2474 simplelist_info_init(&pic, "PIC", pic_dbg_num_items(), NULL); 2482 simplelist_info_init(&pic, "PIC", pic_dbg_num_items(), NULL);
2475 pic.timeout = HZ/100; 2483 pic.timeout = HZ/100;
2476 pic.hide_selection = true; 2484 pic.hide_selection = true;
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 57db13f52c..62250a3c47 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -422,6 +422,8 @@ static bool show_info(void)
422 struct simplelist_info info; 422 struct simplelist_info info;
423 simplelist_info_init(&info, str(LANG_ROCKBOX_INFO), INFO_COUNT, (void*)&data); 423 simplelist_info_init(&info, str(LANG_ROCKBOX_INFO), INFO_COUNT, (void*)&data);
424 info.hide_selection = !global_settings.talk_menu; 424 info.hide_selection = !global_settings.talk_menu;
425 if (info.hide_selection)
426 info.scroll_all = true;
425 info.get_name = info_getname; 427 info.get_name = info_getname;
426 if(global_settings.talk_menu) 428 if(global_settings.talk_menu)
427 info.get_talk = info_speak_item; 429 info.get_talk = info_speak_item;