summaryrefslogtreecommitdiff
path: root/apps/radio/presets.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/radio/presets.c')
-rw-r--r--apps/radio/presets.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/radio/presets.c b/apps/radio/presets.c
index acd6dc8711..72e8c3bd65 100644
--- a/apps/radio/presets.c
+++ b/apps/radio/presets.c
@@ -473,21 +473,10 @@ int handle_radio_presets(void)
473 struct gui_synclist lists; 473 struct gui_synclist lists;
474 int result = 0; 474 int result = 0;
475 int action = ACTION_NONE; 475 int action = ACTION_NONE;
476#ifdef HAVE_BUTTONBAR
477 struct gui_buttonbar buttonbar;
478#endif
479 476
480 if(presets_loaded == false) 477 if(presets_loaded == false)
481 return result; 478 return result;
482 479
483#ifdef HAVE_BUTTONBAR
484 gui_buttonbar_init(&buttonbar);
485 gui_buttonbar_set_display(&buttonbar, &(screens[SCREEN_MAIN]) );
486 gui_buttonbar_set(&buttonbar, str(LANG_FM_BUTTONBAR_ADD),
487 str(LANG_FM_BUTTONBAR_EXIT),
488 str(LANG_FM_BUTTONBAR_ACTION));
489 gui_buttonbar_draw(&buttonbar);
490#endif
491 gui_synclist_init(&lists, presets_get_name, NULL, false, 1, NULL); 480 gui_synclist_init(&lists, presets_get_name, NULL, false, 1, NULL);
492 gui_synclist_set_title(&lists, str(LANG_PRESET), NOICON); 481 gui_synclist_set_title(&lists, str(LANG_PRESET), NOICON);
493 gui_synclist_set_icon_callback(&lists, NULL); 482 gui_synclist_set_icon_callback(&lists, NULL);