Atari: Update for new hotlist API.

This commit is contained in:
Michael Drake 2016-12-29 14:52:34 +00:00
parent 354656b442
commit 512a4335da

View File

@ -73,7 +73,7 @@ static nserror atari_hotlist_init_phase2(struct core_window *cw,
struct core_window_callback_table *cb_t) struct core_window_callback_table *cb_t)
{ {
LOG("cw:%p", cw); LOG("cw:%p", cw);
return(hotlist_init(cb_t, cw, hl.path)); return(hotlist_manager_init(cb_t, cw);
} }
static void atari_hotlist_finish(struct core_window *cw) static void atari_hotlist_finish(struct core_window *cw)
@ -199,6 +199,7 @@ void atari_hotlist_init(void)
} }
LOG("Hotlist: %s", (char *)&hl.path); LOG("Hotlist: %s", (char *)&hl.path);
hotlist_init(hl.path);
if( hl.window == NULL ){ if( hl.window == NULL ){
int flags = ATARI_TREEVIEW_WIDGETS; int flags = ATARI_TREEVIEW_WIDGETS;