From 3b0983cf97c5b9a081384d19effd7760cad8a238 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 18 Jun 2016 18:41:18 +0200 Subject: [PATCH] Create MENU_ENUM_LABEL_CB_MENU_WALLPAPER --- menu/cbs/menu_cbs_ok.c | 3 ++- menu/intl/menu_hash_us.c | 2 ++ menu/menu_hash.h | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index 447f3b22e7..71351e99b6 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -900,7 +900,8 @@ static int generic_action_ok(const char *path, strlcpy(settings->path.menu_wallpaper, action_path, sizeof(settings->path.menu_wallpaper)); - task_push_image_load(action_path, "cb_menu_wallpaper", + task_push_image_load(action_path, + menu_hash_to_str_enum(MENU_ENUM_LABEL_CB_MENU_WALLPAPER), menu_display_handle_wallpaper_upload, NULL); } break; diff --git a/menu/intl/menu_hash_us.c b/menu/intl/menu_hash_us.c index c6fe6f28de..01956b49ac 100644 --- a/menu/intl/menu_hash_us.c +++ b/menu/intl/menu_hash_us.c @@ -26,6 +26,8 @@ static const char *menu_hash_to_str_us_label_enum(enum menu_hash_enums msg) { switch (msg) { + case MENU_ENUM_LABEL_CB_MENU_WALLPAPER: + return "cb_menu_wallpaper"; case MENU_ENUM_LABEL_CB_LAKKA_LIST: return "cb_lakka_list"; case MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_LIST: diff --git a/menu/menu_hash.h b/menu/menu_hash.h index a3a94af983..fb260b1e19 100644 --- a/menu/menu_hash.h +++ b/menu/menu_hash.h @@ -1291,6 +1291,7 @@ enum menu_hash_enums MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_DOWNLOAD, MENU_ENUM_LABEL_CB_UPDATE_OVERLAYS, MENU_ENUM_LABEL_CB_CORE_UPDATER_LIST, + MENU_ENUM_LABEL_CB_MENU_WALLPAPER, MENU_ENUM_LABEL_CB_THUMBNAILS_UPDATER_LIST, MENU_ENUM_LABEL_CB_LAKKA_LIST, MENU_ENUM_LABEL_CB_CORE_CONTENT_LIST,