open_plugins.rock add title to main menu, add scroll stop on close
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Mon, 8 Jun 2026 12:03:06 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit e5c7f0c41cab9c467db83cd64e997a5fa9f3c061 Author: William Wilgus <[email protected]> Date: Mon Jun 8 03:11:41 2026 -0400 open_plugins.rock add title to main menu, add scroll stop on close Have a report of a hanging scrolling item, ensure the lists are stopped on exit with gui_synclist_scroll_stop() Change-Id: If670806f710118c79377bf8c5de6c1a5168e37fc diff --git a/apps/plugins/open_plugins.c b/apps/plugins/open_plugins.c index 45dfe29c07..bbb611dab6 100644 --- a/apps/plugins/open_plugins.c +++ b/apps/plugins/open_plugins.c @@ -863,6 +863,8 @@ static void synclist_set(char* menu_id, int selection, int items, int sel_size) rb->gui_synclist_init(&lists,list_get_name_cb, menu_id, false, sel_size, NULL); + if (menu_id == (void*) &MENU_ID_MAIN) + rb->gui_synclist_set_title(&lists, rb->str(LANG_OPEN_PLUGIN), Icon_Plugin); rb->gui_synclist_set_voice_callback(&lists, list_voice_cb); rb->gui_synclist_set_nb_items(&lists,items); rb->gui_synclist_select_item(&lists, selection); @@ -1499,6 +1501,7 @@ reopen_datfile: } op_entry_remove_empty(); } + rb->gui_synclist_scroll_stop(&lists); rb->close(fd_dat); if (ret != PLUGIN_OK) return ret; -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs