diff options
-rw-r--r-- | src/eulogium.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/eulogium.c b/src/eulogium.c index efe1ef5..c92a9c7 100644 --- a/src/eulogium.c +++ b/src/eulogium.c @@ -51,16 +51,6 @@ static struct button_def but_return = { .data = NULL, }; -static struct button_def but_empty = { - .text = "N/A", - .cb = { - .func = NULL, - .data = NULL, - .info = "Function not implemented", - }, - .data = NULL, -}; - static struct button_def but_print_abort = { .text = "ABORT", .cb = { @@ -288,7 +278,7 @@ static void _but_print_local_cb(void *data, Evas_Object *object EINA_UNUSED, voi Evas_Object *content; /* Fake entry for local storage, ideally this is a separate partition that is user mounted and trigged via the initial scan */ - content = eulogium_print_menu(eulogium, "/home"); /* TODO: replace later */ + content = eulogium_print_menu(eulogium, "/home"); /* TODO: replace later with sane storage location */ if (!content) return; elm_naviframe_item_simple_push(eulogium->navi, content); @@ -318,7 +308,7 @@ static void _cb_button_main_print(void *data, Evas_Object *object EINA_UNUSED, v /* TODO: Right now we just implement 1 or 2 buttons horizontally, ideally this should be something scrollable where more storage locations are usable */ if (eina_list_count(eulogium->mounts) < 1) { - content = eulogium_tripple_button_menu(eulogium->navi, &but_print_local, &but_empty, &but_return); + content = eulogium_print_menu(eulogium, "/home"); /* TODO: replace later with sane storage location */ } else { mount = eina_list_data_get(eina_list_last(eulogium->mounts)); if (!mount) |